It seems to me that the file chooser property uses a project wide scope for the undo/redo command when a object wide scope would suffice. This could reduce lag spikes for larger projects
There would be the need to access the object which registered the property to have a better scope. This is not accessable currently. A refactoring is required to pass the needed object to the editor.
Summary
It seems to me that the file chooser property uses a project wide scope for the undo/redo command when a object wide scope would suffice. This could reduce lag spikes for larger projects
See https://github.com/dlr-gtlab/gtlab-core/blob/bca377172d6df52e1ece73d743c7ac3067735f30/src/gui/dock_widgets/properties/editors/gt_propertyfilechoosereditor.cpp#L100-L112
Impact on the codebase
Minimal
Current workarounds
None.