Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
4.5.3
-
None
Description
Product
Qt
Function
MainWindow
Version
4.5.3
Platform
Mac OS X
Platform details
10.5.8
Compilers
GCC
Compiler details
Subject
unified toolbar impacts ability to restore the window position
Steps to reproduce / test case
Run the code, there's ample documentation in it too - but basically:
- run the included app
- move it somewhere
- quit the app
it restores the position correctly, but the code to do so relies on the exact pixel sizes of the toolbar and the presence of a menu bar at the top of the screen (I think).
you'll see a longer explanation of the issues involved in the MainWindow class constructor and writeSettings methods.