MantisBT - CMake
View Issue Details
0009070CMakeQtDialogpublic2009-05-26 17:152009-07-07 15:07
MrDoomMaster 
Clinton Stimpson 
normalfeatureN/A
closedfixed 
CMake-2-6 
 
0009070: cmake-gui: Remember Position, Size, and General Layout
CMake GUI application on Windows should remember its position and its size, along with other layout-related attributes, such as the position of splitters.
No tags attached.
Issue History
2009-05-26 17:15MrDoomMasterNew Issue
2009-06-02 15:22Alex NeundorfNote Added: 0016607
2009-06-02 15:22Alex NeundorfAssigned To => Clinton Stimpson
2009-06-02 15:22Alex NeundorfStatusnew => assigned
2009-06-02 15:22Alex NeundorfCategoryCMake => QtDialog
2009-06-24 16:51Clinton StimpsonNote Added: 0016754
2009-06-24 16:51Clinton StimpsonStatusassigned => resolved
2009-06-24 16:51Clinton StimpsonResolutionopen => fixed
2009-07-07 14:47MrDoomMasterNote Added: 0016820
2009-07-07 14:47MrDoomMasterStatusresolved => feedback
2009-07-07 14:47MrDoomMasterResolutionfixed => reopened
2009-07-07 14:49Clinton StimpsonNote Added: 0016821
2009-07-07 14:50MrDoomMasterNote Added: 0016822
2009-07-07 14:56Clinton StimpsonNote Added: 0016823
2009-07-07 15:02MrDoomMasterNote Added: 0016824
2009-07-07 15:07Clinton StimpsonNote Added: 0016825
2009-07-07 15:07Clinton StimpsonStatusfeedback => closed
2009-07-07 15:07Clinton StimpsonResolutionreopened => fixed

Notes
(0016607)
Alex Neundorf   
2009-06-02 15:22   
I hope it's ok if I assign this one to you, Clinton ?

Alex
(0016754)
Clinton Stimpson   
2009-06-24 16:51   
/cvsroot/CMake/CMake/Source/QtDialog/CMakeSetupDialog.cxx,v <-- CMakeSetupDialog.cxx
new revision: 1.58; previous revision: 1.57
(0016820)
MrDoomMaster   
2009-07-07 14:47   
Thanks for the work on this so far guys. I noticed the GUI window does not remember its last position. Is this by design? Size & position of the splitters seem to be remembered.
(0016821)
Clinton Stimpson   
2009-07-07 14:49   
I didn't save position because I wanted to leave that to the window manager.

My window manager reasonably places cmake-gui at startup with respect to windows I already have open.
(0016822)
MrDoomMaster   
2009-07-07 14:50   
By window manager I'm assuming you are referring to the platform SDK in Windows?
(0016823)
Clinton Stimpson   
2009-07-07 14:56   
For Windows, its the Windows desktop. I don't remember if it has an intelligent placement of windows when programs start. On Linux, if I have one program already running, and I start another one, and it'll fit side by side, it does that, instead of putting it on top of the window I last worked in.
I didn't want to override the behavior of window managers/desktops.
(0016824)
MrDoomMaster   
2009-07-07 15:02   
I apologize clinton, I thought the cmake-gui app was only provided for Windows. So if it also works on Linux (GTK?), does it work on MacOSX?

In any case, it's obvious that the automatic window placement is far from consistent across multiple platforms. On Windows, we get no special placement. I've tried this on Windows XP and Windows 7. It just starts off at the top-left corner of the screen. Would be nice if there was special-case support for Windows, but I'm not going to fret over it if it stays how it is. The important thing is that the splitters/size are remembered. The position I don't care too much about.

Thanks again for taking your free time to add this feature clinton. Good work! Feel free to resolve this issue once more if you are still content with the positioning scheme you have chosen.
(0016825)
Clinton Stimpson   
2009-07-07 15:07   
cmake-gui uses Qt (qtsoftware.com).

If you want to read more on window managers on other platforms:
http://en.wikipedia.org/wiki/Window_manager [^]

I'm content with what cmake-gui does now with saving layout.