[Wayland-bugs] [Bug 780820] [Wayland] Focused window under application first window
mutter (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 10 13:12:00 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=780820
--- Comment #13 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Jonas Ã…dahl from comment #11)
> Hmm. I think the issue is that we add the Wayland client window to the stack
> too early. The issue seems to be that we
>
> 1. Create a new window that cant be shown
> 2. Adds this new window on top of the stack
> 3. Closes the currently focused window
> 4. Finds a good candidate for new focused window
> 5. Raises that window
> 6. Show the window created in 1.
>
> If step 6. would happen before 3. we're fine, but not when after.
This is exactly it!
> I see two possible solutions to this:
>
> 1) Delay adding the window to the stack until it is "ready" (i.e. has a
> buffer attached)
There are comments in _meta_window_shared_new() that seem to imply that some
apps would misbehave otherwise, but I reckon these are X11 clients, so if we
implement this for Wayland only (as commit cdac4d0 and 0912013 did before), we
might be fine.
--
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/20170510/eedd6fb4/attachment.html>
More information about the wayland-bugs
mailing list