Discovered that it's not related solely to keyboard switching: focus
loss occurs when pressing any bound shortcut, for example volume
up/down. So, it is in 'media-keys' unity-settings-daemon plugin, not in
'keyboard' plugin.

Also, 'media-keys' controls keyboard layouts only in unity-settings-
daemon, upstream gnome-settings-daemon doesn't have code for doing this.

                  break;
          case BATTERY_KEY:
                  do_battery_action (manager);
                  break;
+         case SWITCH_INPUT_SOURCE_KEY:
+         case SWITCH_INPUT_SOURCE_BACKWARD_KEY:
+                 do_switch_input_source_action (manager, type);
+                 break;
          /* Note, no default so compiler catches missing keys */
          case CUSTOM_KEY:
                  g_assert_not_reached ();

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1244090

Title:
  Pressing keyboard shortcut to switch keyboard layout causes temporary
  loss of focus

Status in Gnome Settings Daemon:
  New
Status in Unity Settings Daemon:
  New
Status in “gnome-settings-daemon” package in Ubuntu:
  Triaged
Status in “unity-settings-daemon” package in Ubuntu:
  Triaged

Bug description:
  When pressing keyboard shourtcut for switching keyboard layout, focus
  temporary switches from active text input to something else, then
  restores back when releasing keys used to switch. 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, 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.

  ----------
  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:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1244090/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to