Bug 81769 - Individual keypresses of combinations (e.g. alt-tab) are also read
Summary: Individual keypresses of combinations (e.g. alt-tab) are also read
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: 1.5.0
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
Depends on:
Reported: 2014-07-26 02:49 UTC by Adam Williamson
Modified: 2014-10-03 18:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Adam Williamson 2014-07-26 02:49:34 UTC
Running Fedora 21 with Wayland 1.5.0 and xorg-x11-server-Xwayland- . If I activate a Firefox window and then alt-tab out of it, it seems like the alt keypress itself is also interpreted - Firefox shows or hides its menu bar, like it would if I just pressed <alt> (in any Firefox release with the hidden menu bar). Something also seems to be sent to the window I switched to - if it's a GNOME terminal, I sometimes see an error "bash: words: bad array subscript"

to reproduce, just log into a Shell-on-Wayland session in a current Fedora 21 and try alt-tabbing between a Firefox window and a GNOME terminal window, at least that dependably reproduces the bug for me.
Comment 1 Adam Williamson 2014-07-26 02:49:57 UTC
oh, filed against Xwayland because I don't see this when switching between two native Wayland windows.
Comment 2 Daniel Stone 2014-10-03 18:02:01 UTC
Mutter actually implements its entire own compositor setup - can you please file this as a bug there? Ta.
Comment 3 Adam Williamson 2014-10-03 18:17:05 UTC
aha, thanks for the tip. Yup, I can.
Comment 4 Adam Williamson 2014-10-03 18:19:45 UTC
For anyone else who winds up here, GNOME bug appears to be https://bugzilla.gnome.org/show_bug.cgi?id=727178 .

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.