Bug 1091628

Summary: Pressing any global keyboard shortcut causes temporary loss of focus
Product: Red Hat Enterprise Linux 7 Reporter: Nrbrtx <nrbrtx>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED DEFERRED QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mclasen, mdomonko, nexfwall, RedGreenBlueDiamond, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-11 18:18:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nrbrtx 2014-04-26 16:01:30 UTC
Description of problem:
When pressing any global keyboard shourtcut (configurable via System settings -> Keyboard -> Shortcuts; i.e. for switching keyboard layout, volume up/down), focus temporary switches from active text input to something else, then restores back shortly. Maybe even active window loses focus, but window frame does not shows this (window header remains to look active).

For example: when I press ctrl+shift here to switch keyboard layout, when writing this description, yellow frame disappears from text input box, text caret disappears too; they appear again when releasing ctrl+shift. The same occurs in all other programs, i.e. terminal.

It causes serious annoyance, for example in Twitter when losing focus in Reply text box, reply rolls up and I have to click it again with mouse and set caret to correct place each time I switch keyboard layouts.

Other key combinations, not only ctrl+shift, also cause this.

Version-Release number of selected component (if applicable):
Bug exists in Red Hat ____Enterprise___ Linux Workstation 7.0 (Maipo).
gnome-settings-daemon-3.8.6.1-8.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open for example gedit
2. Press Ctrl+S
3. Press Create Folder button
4. Try to change keyboard layout or volume up/down
5. Focus will be removed from new folder, folder will not be created

Actual results:
Focus is removed from new folder, folder will not be created.

Expected results:
Layout changed, folder name is on desired layout, folder is created and named as user wants.

Additional info:
This bug exists at least in Ubuntu (see https://bugs.launchpad.net/gnome-settings-daemon/+bug/1244090 for more reproduce scenarios ). The bug is reported to upstream too (https://bugzilla.gnome.org/show_bug.cgi?id=700316) with no luck.

Comment 2 Nrbrtx 2014-04-27 08:52:13 UTC
Bug exists in Fedora 20 too.

Comment 3 Bastien Nocera 2014-04-28 09:25:03 UTC
gnome-shell is responsible for capturing the media keys.

Comment 4 Nrbrtx 2014-09-01 17:57:54 UTC
Fedora 20 with all installed updates. Bug is still here. Please fix it.

Comment 5 Egor Zakharov 2015-03-04 18:19:36 UTC
Fedora 21 with all installed updates. Bug is still present in GNOME.

Comment 7 Michal Domonkos 2015-05-12 15:03:58 UTC
Still an issue in GNOME-3.14.

Comment 8 Matthias Clasen 2019-09-11 18:18:16 UTC
This is unfixable under X11. It should just work under Wayland.