Bug 1052057

Summary: Gnome: XReconfigureWMWindow() broken
Product: [openSUSE] openSUSE Distribution Reporter: Forgotten User izAw07lp5v <forgotten_izAw07lp5v>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: astieger, fezhang, forgotten_izAw07lp5v, msrb
Version: Leap 42.2   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 42.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: test program

Description Forgotten User izAw07lp5v 2017-08-03 11:00:34 UTC
Created attachment 735116 [details]
test program

In XReconfigureWMWindow() call stackmode "Below" windows are placed at the bottom of the window stack instead just below the sibling, see test program. This makes it impossible for clients to reliably set the window stacking order.
"
If a sibling and a stack_mode are specified, the window is restacked as follows:

Above The window is placed just above the sibling.
Below The window is placed just below the sibling.
"
https://tronche.com/gui/x/xlib/window/c ... dowChanges
Comment 1 Felix Zhang 2017-08-03 13:48:35 UTC
Putting the Xorg masters into the CC list.
Comment 2 Andreas Stieger 2017-08-03 13:59:01 UTC
dup

*** This bug has been marked as a duplicate of bug 1052011 ***
Comment 3 Forgotten User izAw07lp5v 2017-08-03 15:42:38 UTC
This report belongs to GNOME,
https://bugzilla.opensuse.org/show_bug.cgi?id=1052011
is independent I fear because it is probably a problem of the window manager.
Comment 4 Andreas Stieger 2017-08-10 06:58:25 UTC
bug 1052011 comment #4
Comment 5 Michal Srb 2017-08-15 09:19:00 UTC
(In reply to Martin Schreiber from comment #3)
> This report belongs to GNOME,
> https://bugzilla.opensuse.org/show_bug.cgi?id=1052011
> is independent I fear because it is probably a problem of the window manager.

I can confirm this; it is not a bug in X server. X server sends ConfigureRequest event to the window manager, who is supposed to handle the window arrangement. For example KDE4 kwin handles it correctly.
Comment 6 Felix Zhang 2017-08-17 03:21:24 UTC
I see this has been reported upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=786365

Close as resolved upstream.