← Back to team overview

desktop-packages team mailing list archive

[Bug 1244090] Re: Pressing any global keyboard shortcut causes temporary loss of focus


Bug still exists in 15.10.  It is extremelly annoying.

Possible workaround:

* Install autokey, add to Startup applications. It handles shortcuts using X Window System instead of Gnome.
* Add custom scripts to autokey and set shortcuts for them

Keyboard First Layout:
       from subprocess import check_output
       check_output(['gsettings', 'set', 'org.gnome.desktop.input-sources', 'current', '0'])

Keyboard Second Layout:
      from subprocess import check_output
      check_output(['gsettings', 'set', 'org.gnome.desktop.input-sources', 'current', '1'])

Works well with XMind. Gedit search input still lose focus on layout

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.

  Pressing any global keyboard shortcut causes temporary loss of focus

Status in gnome-settings-daemon:
Status in compiz package in Ubuntu:
Status in gnome-settings-daemon package in Ubuntu:
Status in unity-settings-daemon package in Ubuntu:
Status in gnome-settings-daemon package in ALT Linux:
Status in gnome-shell package in Fedora:
Status in gnome package in openSUSE:

Bug description:
  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

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

  It is especially annoying when using keyboard layout switch shortcut
  handled by the same subsystem (media-keys plugin):

                  do_switch_input_source_action (manager, type);

  (Original gnome-settings-daemon, from which unity-settings-daemon was
  forked, does not use media-keys plugin to switch keyboard layout).

  For other layout switching problems introduced in Ubuntu 13.10 you can see bug 1218322.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-session 3.9.90-0ubuntu3
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Thu Oct 24 11:42:19 2013
  InstallationDate: Installed on 2013-10-23 (0 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: gnome-session
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: