View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009070CMakeQtDialogpublic2009-05-26 17:152009-07-07 15:07
ReporterMrDoomMaster 
Assigned ToClinton Stimpson 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009070: cmake-gui: Remember Position, Size, and General Layout
DescriptionCMake GUI application on Windows should remember its position and its size, along with other layout-related attributes, such as the position of splitters.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0016607)
Alex Neundorf (developer)
2009-06-02 15:22

I hope it's ok if I assign this one to you, Clinton ?

Alex
(0016754)
Clinton Stimpson (developer)
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 (reporter)
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 (developer)
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 (reporter)
2009-07-07 14:50

By window manager I'm assuming you are referring to the platform SDK in Windows?
(0016823)
Clinton Stimpson (developer)
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 (reporter)
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 (developer)
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.

 Issue History
Date Modified Username Field Change
2009-05-26 17:15 MrDoomMaster New Issue
2009-06-02 15:22 Alex Neundorf Note Added: 0016607
2009-06-02 15:22 Alex Neundorf Assigned To => Clinton Stimpson
2009-06-02 15:22 Alex Neundorf Status new => assigned
2009-06-02 15:22 Alex Neundorf Category CMake => QtDialog
2009-06-24 16:51 Clinton Stimpson Note Added: 0016754
2009-06-24 16:51 Clinton Stimpson Status assigned => resolved
2009-06-24 16:51 Clinton Stimpson Resolution open => fixed
2009-07-07 14:47 MrDoomMaster Note Added: 0016820
2009-07-07 14:47 MrDoomMaster Status resolved => feedback
2009-07-07 14:47 MrDoomMaster Resolution fixed => reopened
2009-07-07 14:49 Clinton Stimpson Note Added: 0016821
2009-07-07 14:50 MrDoomMaster Note Added: 0016822
2009-07-07 14:56 Clinton Stimpson Note Added: 0016823
2009-07-07 15:02 MrDoomMaster Note Added: 0016824
2009-07-07 15:07 Clinton Stimpson Note Added: 0016825
2009-07-07 15:07 Clinton Stimpson Status feedback => closed
2009-07-07 15:07 Clinton Stimpson Resolution reopened => fixed


Copyright © 2000 - 2018 MantisBT Team