Changes between Version 1 and Version 2 of Ticket #3419, comment 13
- Timestamp:
- 11/08/2023 05:21:06 AM (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3419, comment 13
v1 v2 1 I made my own work around for this that works, but isn't pretty. I wanted to prevent position changes of tabsbar and sidebar from being saved until the window is visible and active. Once they are both true I set the initial positions for the tabsbar and sidebar and unlock those configuration values.1 I made my own work around for this that does the job, but isn't pretty. I wanted to prevent position changes of tabsbar and sidebar from being saved until the window is visible and active. Once they are both true I set the initial positions for the tabsbar and sidebar and unlock those configuration values. 2 2 3 3 I noticed that the mainwindow.py visible() function is periodically called by something. So I modified that function to set a flag when the window becomes visible and active and set the positions of tabsbar and sidebar. When that flag is set and the tabsbar or the sidebar are moved the new positions can be written to the config file. I'm sure there is a better way to accomplish this.