[Wayland-bugs] [Bug 780820] [Wayland] Focused window under application first window

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue May 2 14:20:35 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=780820

--- Comment #6 from Olivier Fourdan <ofourdan at redhat.com> ---
MUTTER_VERBOSE stack ops at the time the new sub-sub-window is mapped and the
sub-window unmapped:

STACK: Adding window W3 to the stack
STACK: Window W3 has stack_position initialized to 2
STACK: Syncing window stack to server
STACK: Adding 1 windows to sorted list
STACK: Recomputing layers
STACK: Window W3 on layer 2 type = 0 has_focus = 0
STACK: Window W3 moved from layer 8 to 2
STACK: Window W2 (sub-window) on layer 2 type = 0 has_focus = 1
STACK: Window W1 (main windo) on layer 2 type = 0 has_focus = 0
STACK: Reapplying constraints
STACK: Sorting stack list
STACK: Bottom to top: 2:0 - W1 (main windo) 2:1 - W2 (sub-window) 2:2 - W3 
STACK: Restacking 3 windows
STACK: Syncing window stack to server
STACK: Reapplying constraints
STACK: Bottom to top: 2:0 - W1 (main windo) 2:1 - W2 (sub-window) 2:2 - W3 
STACK: Restacking 3 windows
VERBOSE: Unmanaging W2 (sub-window)
FOCUS: Focusing default window since we're unmanaging W2 (sub-window)
FOCUS: Focusing MRU window
FOCUS: Focusing workspace MRU window W1 (main windo)
FOCUS: Setting input focus to window W1 (main windo), input: 1 take_focus: 0
FOCUS: W2 (sub-window) is now the previous focus window due to being focused
out or unmapped
VERBOSE: Grabbing unfocused window buttons for W2 (sub-window)
FOCUS: * Focus --> W1 (main windo) with serial 492
VERBOSE: Ungrabbing unfocused window buttons for W1 (main windo)
VERBOSE: Grabbing window buttons for 0x0
WINDOW_OPS: Raising window W1 (main windo), ancestor of W1 (main windo)
STACK: Window W1 (main windo) had stack_position set to 2
STACK: Syncing window stack to server
STACK: Reapplying constraints
STACK: Sorting stack list
STACK: Bottom to top: 2:1 - W3 (sub-sub-wi) 2:2 - W1 (main windo) 

=> Looks like W1 gets re-focused once W2 is unmapped (next in the MRU list) and
therefore raised above the newly mapped window W3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170502/dec76faf/attachment-0001.html>


More information about the wayland-bugs mailing list