← Back to team overview

desktop-packages team mailing list archive

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

 

I'm running two Ubuntu 14.04 machines with a UK keyboard layout.  This
problem affects one of them but not the other - not sure why.

On the affected machine EVERY TIME I accept a system update, the
keyboard layout is broken.  I can fix it by uninstalling ibus and
rebooting, but on the next system update, the problem comes back.  On
the other machine, I can apply updates without incident.

Another problem is, if the user's password contains the affected keys,
they will not be able to log in.  It will look to them as if the upgrade
has reset their password.  They may look on the web for help, but they
will not think to look for problems with swapped keys.  If they are
lucky, they may find my posting http://askubuntu.com/questions/695167
/cannot-log-in-after-software-upgrade-ibus-issue. If not, they will
probably get out the rescue disk and reinstall.  This does nothing for
the reputation of Linux as a replacement for Windows.

To add to the confusion, the first login after the upgrade will work,
because the change is only applied after that.  On the second and
subsequent logins, they need to substitute some characters when they
type their password.

To sum up, it appears that this only breaks some machines, which is why
there has not been a huge fuss, but those machines that it breaks get
broken repeatedly, and in some cases the symptoms make the problem look
much more serious than it is, causing the user to do work that is
disruptive and unnecessary.

-- 
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