Bug 1460981 - Mouse events pass trough some windows
Summary: Mouse events pass trough some windows
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-13 10:08 UTC by James Legg
Modified: 2019-05-28 23:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 23:21:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Program reproducing bug (333 bytes, text/x-csrc)
2017-06-13 10:08 UTC, James Legg
no flags Details

Description James Legg 2017-06-13 10:08:14 UTC
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.

How reproducible:
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 \
    -o click-through-window
2. Run the application with
    ./click-through-window 
3. Right click on the window that appears

Actual results:
The window behind is focused and responds to the click.

Expected results:
The event it sent to the window which was clicked on, which in this case ignores it.

Additional info:
A message such as
    gnome-shell[1525]: 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.

Comment 1 Fedora End Of Life 2017-11-16 18:30:34 UTC
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'
of '25'.

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.

Comment 2 James Legg 2017-11-21 13:55:45 UTC
This still occurs, as originally described, in Fedora 26. I reproduced it with Mutter version 3.24.4 release 2.fc26.

Comment 3 James Legg 2017-11-22 09:44:21 UTC
Also occurs on Fedora 27, with Mutter version 3.26.2 release 1.fc27.

Comment 4 Ben Cotton 2018-11-27 17:04:12 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. 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' of '27'.

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 27 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.

Comment 5 James Legg 2018-11-27 17:49:12 UTC
Still occurs on Fedora 28, with Mutter 3.28.3-4.fc28.

Comment 6 Ben Cotton 2019-05-02 20:14:50 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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' of '28'.

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 28 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.

Comment 7 Ben Cotton 2019-05-28 23:21:48 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.