Realthunder made a pull request, whrere he disabled hiding all dependent objects when opening a sketch and auto-update checkbox is ticked. This generated a discussion on github:
https://github.com/FreeCAD/FreeCAD/pull/457
I post it here, to maybe get some opinions.realthunder commented 2 days ago
When skecher auto recompute is enabled, user expects to see immediate changes on dependent object. This patch disables auto hide dependent feature when auto recompute is enabled.
@realthunder Sketcher: disble hide dependent when auto recompute a2c5906
--------------------------------------------------
@wwmayer
Contributor
wwmayer commented 5 hours ago
TBH I don't like this change because of two reasons:
1. In sketch edit mode you can toggle auto-recompute. If it's off and you switch it on nothing happens. You first have to leave and re-enter edit mode which is unintuitive.
2. In the preferences there is extra a setting to control this behaviour "Hide all objects that depend on the sketch". With the suggested change we have two colliding settings and it would look like the "hide all objects" setting doesn't work as expected.
@DeepSOIC Since you are the author of TempoViz I would like to hear your opinion.
--------------------------------------------------
@DeepSOIC
Contributor
DeepSOIC commented 5 hours ago
I like the idea in general, but I agree with @wwmayer on both 2 points, especially with point 2.
I struggle to suggest a better way to do it, I need to think about it.
--------------------------------------------------
@DeepSOIC
Contributor
DeepSOIC commented 5 hours ago
OK, I think I have an opinion.
Merge Auto-update and Hide-dependent into one thing. That is:
* the checkbox on task panel should be renamed to "Show result update in real time"
* Same setting in preferences, which sets default for new sketches.
* rename corresponding ViewProvider property, and tie it with the state of the checkbox in task panel
* make the action of checkbox show/hide objects as it's checked and unchecked.
I think, this change should be brought up to the forum, to hear other people's opinion.
--------------------------------------------------
@realthunder
Contributor
realthunder commented 4 hours ago
That's sounds much better. I'll vote for it.