There is a usability issue in FreeCAD that allows me to unfortunately delete an object from a non-active document.
This is how you can reproduce it:
- Have two documents
- Activate doc1 and select an object, let's call it object1
- Activate doc2 by clicking on its tab and select an object in the 3D view, let's call it object2
- Notice (the problem actually arises if you don't notice!) that object1 is still selected
- Delete either by pressing Delete on the keyboard or right-clicking on object2
- Ouch! object1 is also deleted.
If you have a tree which is larger that the space in the dialog, which happens easily, you easily miss to notice that object1 is still selected. If you select object2 in the tree directly, then object1 gets deselected. The problem arises only by selecting object2 in the 3D view.
In think a warning when deleting an object from an inactive document would be the bare minimum.
Do you see/want any other solutions?
Thanks,
Gaël
Usability issue: unwanted deletion of objects from non-active document
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 420
- Joined: Wed Sep 15, 2010 9:38 am
-
- Posts: 420
- Joined: Wed Sep 15, 2010 9:38 am
Re: Usability issue: unwanted deletion of objects from non-active document
This was actually already discussed in https://forum.freecadweb.org/viewtopic.php?f=34&t=20251 but I must have search with the wrong keywords and didn't find it. Anyway, it didn't catch much attention, so I this it's good to repeat.
Re: Usability issue: unwanted deletion of objects from non-active document
Should I merge this with Do we need more that one document in the tree view?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- HarryGeier
- Veteran
- Posts: 1230
- Joined: Mon Jul 10, 2017 12:36 pm
- Location: Hof Germany
Re: Usability issue: unwanted deletion of objects from non-active document
+1
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
-
- Posts: 420
- Joined: Wed Sep 15, 2010 9:38 am
Re: Usability issue: unwanted deletion of objects from non-active document
No please don't merge, this other topic is more general and not as urgent as this one.chrisb wrote: ↑Fri May 04, 2018 9:48 am Should I merge this with Do we need more that one document in the tree view?
Re: Usability issue: unwanted deletion of objects from non-active document
I agree. I think this should be considered a bug. We had this issue before with selections in 2 documents in the tree view and it was fixed.galou_breizh wrote: ↑Fri May 04, 2018 12:54 pm No please don't merge, this other topic is more general and not as urgent as this one.
"fight the good fight"
-
- Posts: 420
- Joined: Wed Sep 15, 2010 9:38 am
- wandererfan
- Veteran
- Posts: 5988
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Usability issue: unwanted deletion of objects from non-active document
This should be fixed by git commit 0ea75683.