This is the mail archive of the
mailing list for the Cygwin XFree86 project.
Re: xorg-xserver-1.5.3-2: Dialogs that save their positions keep drifting downwards
- From: "Yaakov (Cygwin Ports)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 16 Nov 2008 17:51:12 -0600
- Subject: Re: xorg-xserver-1.5.3-2: Dialogs that save their positions keep drifting downwards
- References: <firstname.lastname@example.org>
- Reply-to: cygwin-xfree at cygwin dot com
-----BEGIN PGP SIGNED MESSAGE-----
Cesar Strauss wrote:
> There is a GTK application (gschem from www.geda.seul.org) that saves
> the position of its sub-dialogs when they close, so they reopen at the
> same place.
> Up to now, on Cygwin/X, this didn't always work well: in multi-window
> mode, dialogs kept reopening a little lower each time, by an amount
> equal to the title bar height.
> When xserver-1.5.3-1 came out, I was glad to see it was fixed.
> However, the symptom reappeared on xserver-1.5.3-2.
This is a case of trading one bug for another. 1.5.3-1 had an issue
with window geometry ignoring the window decoration (title bar and
window edging), meaning that a window at +0+0 (upper left corner) would
have its title bar past the top of the screen.
So we added a patch to move the window down and slightly right to
compensate for the window decoration. But we need to account for that
adjustment when the location is saved, otherwise you get the constant
offsetting as you have demonstrated.
Jon, does this give you enough information to figure this out?
> A minimal testcase is attached, as well as the cygcheck -s -v -r output.
> [I should add that both the application and the testcase works
> correctly on GNU/Linux (Ubuntu Intrepid), that is, closed dialogs
> remember their positions.]
As I'm sure it would work with XWin in rooted mode with a standard
Thanks for the bug report and test case.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html