On launch, window is repositioned 5px lower than last saved state

Bug #175719 reported by Sean Hodges
2
Affects Status Importance Assigned to Milestone
Medes
Fix Released
Undecided
Sean Hodges

Bug Description

To reproduce:
1. Launch a Medes instance
2. Move it to a position
3. Close it and open it again

Believe this is GTK saving the position from top corner below the title bar, then re-positioning using the top corner above the title bar.

Revision history for this message
Sean Hodges (seanhodges) wrote :

Now forcing the window to move into correct position on first pass windowproperty callback. This should be WM independent, but may still not capture all WM inconsistencies.

Initial cause was related to this:
"gtk_window_get_position() is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a window by the window manager. Thus GTK+ is using a "best guess" that works with most window managers." (http://library.gnome.org/devel/gtk/unstable/GtkWindow.html)

Changed in medes:
assignee: nobody → seanhodges
status: New → Fix Committed
Sean Hodges (seanhodges)
Changed in medes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.