GNOME Bugzilla – Bug 343861
Window position and size aren´t remembered
Last modified: 2011-11-18 23:33:45 UTC
Please describe the problem: When I close the system monitor and reopen it, the window position and size aren´t remembered. The program should open at the position I closed it and with the dize it had. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
which window manager are you using ?
I´m using metacity. But I don´t understand why this could be related, afaik in GNOME there´s no API for this kind of things, so the application programmer has to take care of it. There are also many other apps which remember the size and position right.
Can you still reproduce ?
I don´t know, I´m not using gnome/linux at the moment. But I think it´s really easy to test if this is still present in new gnome versions.
Still present with system monitor 2.17.4. Tested with metacity and compiz. Nautilus for example, saves this information in gconf. (/apps/nautilus/preferences/navigation_window_saved_geometry)
OK, i need eel for that. I'll see what i can do.
*** Bug 389468 has been marked as a duplicate of this bug. ***
Created attachment 201570 [details] [review] Proposed patch Window size is already saved in g_settings and loaded on start, so I have made a patch to also save the window position on exit and load it on start.
Thanks. Patch applied to master.