Red Hat Bugzilla – Bug 1460981
Mouse events pass trough some windows
Last modified: 2018-02-14 21:10:32 EST
Created attachment 1287204 [details]
Program reproducing bug
Description of problem:
Under some circumstances when using Mutter as a Wayland compositor a window can stop responding to mouse events. Clicking on the window acts on the window behind it, or lands on the desktop if there is nothing there. Scrolling scrolls the content in the window behind the one under the mouse cursor. The mouse cursor changes as appropriate for its position on the window under the affected one.
Version-Release number of selected component (if applicable):
Mutter version 3.22.4, release 3.fc25.
Occurs every time with the attached example.
Steps to Reproduce:
1. Compile the attached program with
g++ $(sdl2-config --cflags --libs) click-through-window.cc \
2. Run the application with
3. Right click on the window that appears
The window behind is focused and responds to the click.
The event it sent to the window which was clicked on, which in this case ignores it.
A message such as
gnome-shell: Unknown surface ID 154 (from window 0xc00008 (window))
appears in the system log when the window is created.
The issue does not occur on Weston, which is why I suspect this is a bug in Mutter and not Xwayland or SDL2.
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
This still occurs, as originally described, in Fedora 26. I reproduced it with Mutter version 3.24.4 release 2.fc26.
Also occurs on Fedora 27, with Mutter version 3.26.2 release 1.fc27.