After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758603 - Switching focus between X11 app and GNOME Terminal under Wayland doesn't work consistently
Switching focus between X11 app and GNOME Terminal under Wayland doesn't work...
Status: RESOLVED DUPLICATE of bug 756272
Product: mutter
Classification: Core
Component: wayland
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks: WaylandRelated
 
 
Reported: 2015-11-24 15:53 UTC by Sebastian Jastrzebski
Modified: 2015-11-24 16:41 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18


Attachments
packages.out (62.16 KB, text/plain)
2015-11-24 15:53 UTC, Sebastian Jastrzebski
Details
lspci.out (2.59 KB, text/plain)
2015-11-24 15:53 UTC, Sebastian Jastrzebski
Details

Description Sebastian Jastrzebski 2015-11-24 15:53:01 UTC
Created attachment 316179 [details]
packages.out

I have an X11 app (Sublime or gedit) running next to GNOME Terminal using Wayland backend under GNOME Wayland session. Initially both windows correctly accept focus (when selected by clicking on them) and receive input from keyboard. However, after going to a different workspace and back, switching focus by clicking on GNOME Terminal doesn't always work (about half the time it requires multiple click on the window to accept focus). 
 
Repro steps:
1. Ensure X11 app has focus and receives input (Sublime in my case)
1. Temporally go to another workspace and then back (Ctrl-Alt-Down and Ctrl-Alt-Up)
2. Sublime still has focus and can receive input
3. Click on GNOME Terminal window.
4. Focus is not transferred to GNOME Terminal, Sublime still receives all input and window is still highlighted.

This also happens with gedit using X11 backend and GNOME Terminal using wayland backend.

I have not been able to repro this issue with gedit and GNOME Terminal both using Wayland backends.

I have not been able to repro this issue with X11 app (sublime) and gedit (wayland).

I'm running Fedora 23 w/ latest updates as of 11/23.
Comment 1 Sebastian Jastrzebski 2015-11-24 15:53:43 UTC
Created attachment 316180 [details]
lspci.out
Comment 2 Sebastian Jastrzebski 2015-11-24 16:31:09 UTC
Not sure if this makes any difference, but I am running a dual screen setup (laptop primary, lcd monitor secondary). the testing was done on secondary display.
Comment 3 Rui Matos 2015-11-24 16:33:40 UTC
This sounds like bug 756272 so I'm duping it. When that one gets fixed, if you can still reproduce feel free to re-open.

*** This bug has been marked as a duplicate of bug 756272 ***
Comment 4 Sebastian Jastrzebski 2015-11-24 16:41:48 UTC
It does sound similar. The only difference I would like to highlight is that focus change is done w/ a mouse, unlike the issue referenced where keybinding is used.