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 782509 - Volume up/down keys send "focus lost" events to applications (X11)
Volume up/down keys send "focus lost" events to applications (X11)
Status: RESOLVED DUPLICATE of bug 687862
Product: gnome-shell
Classification: Core
Component: general
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-05-11 09:04 UTC by Kamil Páral
Modified: 2017-05-11 10:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kamil Páral 2017-05-11 09:04:23 UTC
When I press volume up/down keys on my multimedia keyboard, the indicator overlay sometimes steals focus from the applications, which results in unwanted behavior. For example, many games tend to jump into the menu or even minimize the whole window, because the focus has been lost (just for a split second, but that is enough). This doesn't seem to happen on a single press of the volume up/down key, but when I hold it for a while longer, so that multiple volume steps are performed (e.g. when you want to quickly raise or lower the volume), the focus is stolen. This only happens under X11, not under Wayland.

The reproducer is trivial with Cannon Brawl Demo [1] (free on Steam):

1. run X11 session
2. start Cannon Brawl Demo [1] in fullscreen mode
3. hold volume up or volume down on your multimedia keyboard for a second or two
4. the game will minimize (100% reproducible)
5. you can try the same in windowed mode, the game will display a message "window out of focus"

[1] http://store.steampowered.com/app/325760/Cannon_Brawl_Demo/

gnome-shell-3.22.3-1.fc25
mutter-3.22.4-1.fc25
Comment 1 Florian Müllner 2017-05-11 10:48:59 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 687862 ***