[Bug] Toolbar profile gets corrupted when switching jobs with associated profiles and a widget settings window is open.
Closed this issue · 0 comments
haroldiedema commented
The system is designed in such a way that when a widget settings window closes, the settings are saved. The same applies for the general settings window of Umbra itself.
Prerequisites for reproducing this issue:
- Have job associated toolbar profiles enabled.
- Have a widget config window open
- Switch to another job that causes another profile to load.
Due to the widget configuration changing, the current instance windows and widgets are disposed of, closing the settings window as well. During this disposal, the current state of the toolbar is written to the user config, resulting in a near-empty toolbar, depending on which widget you were editing.
To fix the issue, there should be a check in the save-methods (saveState, saveProfileData, etc.) that aborts while loadState is doing its job.