[widgets] Save/Restore window state and geometry
Save/Restore window state and geometry
This fix lets a user decide how and where the window is placed, giving him the freedom to decide how the application will appear after quitting and restoring it.
Merge request reports
Activity
- Resolved by Samuel GAIST
added 1 commit
- 4c099ed1 - [widgets] set app/name/organization with QApplication and set QSettings as local variable
- Resolved by Flavio TARSETTI
- Resolved by Flavio TARSETTI
mentioned in commit 6458ebcd
@flavio.tarsetti is the feature in the MR summary supposed to be working now? I rebased my branches and it still doesn't save the dimensions of the window.
Steps to reproduce:
- On branch
library-editor-178
./bin/beat editor start
- The editor pops up very small
- I make the editor larger
- I exit via
Ctrl+Q
./bin/beat editor start
- The editor still starts very small, not remembering the size I made it
Edited by Jaden DIEFENBAUGH- On branch
@jdiefenbaugh : !56 (merged) when merged will help enforce the fact that all is restored after the creation of all components.
Your actual issue is that you are quitting via Ctrl+Q and not via the
x
window close that captures the event in closeEvent and saves the settings. The Ctrl+Q part is still not implemented but will be implemented soon. Please use thex
for the time being, until this is implemented