I know what happens, and I have a patch.

I don't know *why* it happens.

unity-settings-daemon talks to systemd-localed to find out which locale
to set up the keyboard for. It puts this into "org.gnome.desktop.input-
sources sources". This bit works fine.

Then indicator-keyboard starts, and wants to perform some kind of
migration (don't really know what the history is). This migration
disregards the values that were in "sources", and doesn't itself look at
localed to re-compute them. It ends up setting "sources" to an empty
array.

The fix is to have indicator-keyboard append to the array, and not just
overwrite it.

** Also affects: indicator-keyboard (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity-settings-daemon (Ubuntu)
       Status: New => Invalid

** Changed in: indicator-keyboard (Ubuntu)
       Status: New => Triaged

** Changed in: indicator-keyboard (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to indicator-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1627057

Title:
  keyboard layouts config wrong under systemd user sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-keyboard/+bug/1627057/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to