Here an explanation about this... https://forum.freecadweb.org/viewtopic.php?f=23&t=44335
Hi chrisb, you are not late: I agree that the current behaviour is not so satisfying, also if I find it way better than the previous.
Here is a little attempt... It works, and it's really intuitive BUT : if an object is selected, FreeCAD catch the DEL key pressed and delete it... I have to check how the sketcher handle this... Any hints?
I wouldn't care if it is in edit mode. If you hit the del key I would delete the vertex.
It's just hovering.
Before you make radical changes, what about :
Code: Select all
if key == 65535 and Draft.getType(self.obj) == None: # "Delete but only if something is not selected"
The idea is good, but it will not work. Imagine the usecase where an user have one object selected, he hover the Tracker and press DEL: the object will be deleted (cause we do not have the exclusive ownership of the keyboard events), and the Tacker will not be deleted...