GNOME Bugzilla – Bug 88260
Pan does not remember window positions correctly
Last modified: 2004-12-22 21:47:04 UTC
If you open and close Pan a few times, the window position slowly moves across the screen. It doesn't accurately remember it's position.
Created attachment 9879 [details] [review] Patch to correct window positioning bug
The patch above also implements functionnality so Pan remembers if its window is maximized or not. This is important for the Metacity WM in the next redhat release as it does not save window positions and states.
Marc, This patch needs a little work; gui_save_window_size() is called not just by the main window but also by the task manager and compose window. But the pan_maximized field looks like it is set no matter which window calls it. If I'm reading the code wrong, just whap me with a cluestick and I'll apply, otherwise please make a revision, perhaps checking to see if window == Pan.window before using pan_maximized...
Created attachment 9887 [details] [review] Revised patch for window placement
I'm the one that needs to be whapped with a cluestick :) Here's a new patch. If anything could be better, please let me know...I'm new to this. Marc.
Committed. Thanks for the patch.