Deskbar window moves every time it's opened

Bug #244711 reported by Frederik Elwert
2
Affects Status Importance Assigned to Milestone
deskbar-applet (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: deskbar-applet

Every time the deskbar window is opened (e.g., via Alt-F3 or clicking the icon), the window is a bit more to the right and to the bottom of the screen than it was the last time.

I just crawled the source a bit and found that deskbar uses get_position() on the gtk.Window to the the coordinates, stores these values to gconf, and sets them with move() after re-opening the window. The PyGTK reference points out that this method will most likely fail to restore the original position due to window manager missbehaviour. Compiz, which I am using, also seems to suffer from this.
(see http://www.pygtk.org/pygtk2reference/class-gtkwindow.html#method-gtkwindow--get-position )

The reference suggests using true session management, e.g. via GnomeClient. I don't know if this would be a valid option for deskbar, but the hopping window is really not ideal.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Changed in deskbar-applet:
status: New → Invalid
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.