← Back to team overview

desktop-packages team mailing list archive

[Bug 1240198] Re: [SRU]Wrong keyboard layout active after booting into desktop

 

Perhaps I can add some clues which hopefully will help to solve this
problem:

1) Restart of ibus change the keyboard layout always to US, while the indicator still shows the configured layout.
- Configure a non US layout like German [DE].
- The Keyboard indicator shows the correct "De"
- The Keyboard has the correct German layout (QWERTZ)
- Open a terminal and type in "ibus restart"
- The Keyboard indicator still shows "De"
- But the Keyboard has now US layout (QWERTY)
Shouldn't the ibus restart preserve the keyboard layout?

2) Since the last major release ibus has a new command line option: "--restart" or "-R". This option is missing in the current man page (I use Ubuntu 15.10), but if you run "ibus-daemon -h" you get:
-R, --restart    restart panel and config processes when they die.

3) I didn't find out where and how idbus-daemon is actually started, but assuming
- the daemon is started with restarting option
- the daemon dies during startup and automatically restarts
- that the automatic restart also change silently the keyboard layout
In this case we would have US layout after startup, but the indicator will show the configured keyboard layout.

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

Title:
  [SRU]Wrong keyboard layout active after booting into desktop

Status in ibus package in Ubuntu:
  Confirmed
Status in ibus source package in Trusty:
  Triaged

Bug description:
  [Impact]

  When first boot into Unity desktop, English keyboard layout is active
  while all other parts of the system language settings are set to
  another language (e.g. German).

  The bug is properly addressed in newer upstream releases in Vivid, but
  the changes is too intrusive and not suitable for being back ported in
  SRU. And changing the default to use system keyboard layout solves the
  problem.

  [Test Case]

  1. Set the system language to something other than English, e.g. German.
  2. Create a new user, log in to the Unity desktop of the new user.
  3. Check the keyboard layout, it should be German instead of English.

  [Regression Potential]

  Since this changes the default value of the keyboard layout settings
  by using system defined as default, it avoids using ibus's built-in
  keyboard layout related functionality, so that this could be a
  regression for users rely on this certain behavior (e.g. use English
  keyboard while want to keep the system language settings to German),
  but such behavior is not expected for normal usage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1240198/+subscriptions