Bug #677
MainWindow doesn't restore to maximized state after application is restarted
100%
Description
When starting the application, the main window doesn't restore to the correct state.
After the patch, the maximized window size shouldn't affect the window size stored and the maximized state should be recovered properly.
Associated revisions
Properly save and restore the mainwindow state
We now save size, position, maximize, minimize and hidden-to-tray on exit
and restore it at next start. Since Qt's restoreState() has some issues, I had
to workaround things a bit, so please test on your system and report if there are
still problems with the current implementation!
Fixes #677, fixes #452 (since the state is remembered, so just quit Quassel using the
tray context menu while it's hidden).
History
#1 Updated by Sputnick over 15 years ago
- Status changed from New to Resolved
Applied in changeset 65e81b756816cc4ac0eeb4628552ccfd8a3b1ac3.
#2 Updated by Sputnick over 15 years ago
- Assignee set to Sputnick
Cleaned up the mess that existed in MainWin and did it properly. Also I'm using restoreState() now, which should take care of ensuring that the window appears in the visible screen area.
Please let me know if there are still issues; window manager-related stuff like this (in particular if it involves some hackery) is hard to get right on all platforms :)
Properly save and restore the mainwindow state
We now save size, position, maximize, minimize and hidden-to-tray on exit
and restore it at next start. Since Qt's restoreState() has some issues, I had
to workaround things a bit, so please test on your system and report if there are
still problems with the current implementation!
Fixes #677, fixes #452 (since the state is remembered, so just quit Quassel using the
tray context menu while it's hidden).