Geometry Problems -- *Negative* screen placement of windows

David Hampton hampton-gnucash at rainbolthampton.net
Wed Nov 29 14:35:24 EST 2006


On Wed, 2006-11-29 at 13:59 -0500, Robert Heller wrote:
> GnuCash (2.0.1-4.rhel4) sometimes gets it into its mind to pop up
> windows and dialogs with a *negative* y placement.  This makes it
> difficult to move to the window, since the window manager title bar is
> off the top of the display. Is there some way to fix this?  Or is this a
> known bug.
> 
> I am NOT using a Gnome or KDE desktop -- I am using fvwm2 in mwm
> compatibility mode.

That sounds like a bug in fvwm2.  Gnucash does nothing more than ask the
window manager for the coordinates, store them in a file, load them from
a file, and pass them back to the window manager.  If the window manager
get/set routines don't agree on whether the coordinates include the
window border then this problem could occur.  E.G. The get routine
returns the coordinates of the window border, and when gnucash hands the
numbers back the set routine takes them as the coordinates of the window
content, and then subtracts a bit to get the coordinates of the border.

Do the windows creep upwards every time you close and reopen them?

David




More information about the gnucash-user mailing list