Bug 2109

Summary: Window stacking (raise/lower) broken
Product: xorg Reporter: Chris Long <chrislong>
Component: Server/DDX/XnestAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high CC: roland.mainz
Version: 6.8.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Chris Long 2004-12-19 07:25:51 UTC
When I raise or lower a window, the window does not appear to move. However, the
mouse behaves as if the raise/lower worked. Here's an example. I have two
windows, A and B on an Xnest display. A overlaps B some (and is on top of B). I
raise B (e.g., by clicking on its titlebar in most window managers). Nothing
visible happens, which is unexpected. When I click the mouse in the area where A
and B overlap, B now gets the clicks, even though A (still) appears to be the
top window. I have focus-follows-mouse set, so the keyboard focus also changes
to B in the overlapped area. Lower has the same effect.

This happens with twm, fvwm2, and kwin.

I've found some things that temporarily synch it (i.e., set the visible stacking
order to match how I set it):

1. creating a new window (e.g., starting a new X client)
2. Sometimes, bringing up a root menu in twm and fvwm2
3. Bringing up the window-specific menu in kwin (middle-mouse on titlebar)
4. Quitting the window manager

2 and 3 may just be instances of 1, I don't know. 

This did not happen with 6.8.0.

FWIW, it also happens with the Fedora 3 Core patched 6.8.1.
Comment 1 Roland Mainz 2004-12-19 23:17:09 UTC
Reporter:
Does this behaviour only occur in Xnest or does it affect all Xservers ?
Comment 2 Chris Long 2004-12-21 07:38:27 UTC
I'm running Fedora Core 3 at home, which I'm pretty sure is 6.8.0 (or maybe
6.8.1), and the regular desktop server works fine (using the nvidia driver).

I assumed it was specific to Xnest, since I didn't see any similar bug reports
and you can't help but notice if you use a server with this bug.  But I don't
actually know it's Xnest-specific.

BTW, I double-checked and this bug *is* also present in 6.8.0's Xnest. It was
6.7.0 that I used that didn't have the bug. (I looked for a way to add 6.8.0 to
the version for this bug, but it looked like all I could do was *change* the
version on the bugzilla web form.)
Comment 3 Dennis Bar 2005-03-31 06:37:21 UTC
So all versions 6.8.0, 6.8.1, 6.8.2 have this bug. But in 6.7.0 everething was ok.
It's impossible simply to lower/raise window in every window manager in all
these 3 versions.

Steps what I do.
1. Login xdm
2. run xterm
3. in xterm:   Xnest -audit 0 -query localhost :2
4. than login again
5. And I can't do what I want!!!!
Comment 4 Alexander Gottwald 2005-03-31 07:26:49 UTC

*** This bug has been marked as a duplicate of 2599 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.