← Back to team overview

budgie-remix-bug-busters team mailing list archive

[Bug 1956240] Re: Selected Keyboard Layout not Applied after reboot


** Also affects: budgie-desktop (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: budgie-desktop (Ubuntu Kinetic)
   Importance: Medium
     Assignee: fossfreedom (fossfreedom)
       Status: In Progress

** Changed in: budgie-desktop (Ubuntu Kinetic)
       Status: In Progress => Fix Released

** Changed in: budgie-desktop (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: budgie-desktop (Ubuntu Jammy)
   Importance: Undecided => Medium

** Changed in: budgie-desktop (Ubuntu Jammy)
     Assignee: (unassigned) => fossfreedom (fossfreedom)

You received this bug notification because you are a member of ubuntu
budgie bug busters, which is subscribed to budgie-desktop in Ubuntu.

  Selected Keyboard Layout not Applied after reboot

Status in budgie-desktop package in Ubuntu:
  Fix Released
Status in budgie-desktop source package in Jammy:
  In Progress
Status in budgie-desktop source package in Kinetic:
  Fix Released

Bug description:
  [ Impact ]

   * For some multi-keyboard layout users (e.g. en_US, en_GB and zh_TW) their preferred layout on login is not immediately available - the preferred layout defaults to en_US even though another layout such as en_GB is defined and is shown via the keyboard layout applet.
   * For some users, the keyboard layout is not applied when changing layouts via the keyboard shortcut or via the keyboard layout applet
   * This is due to a race condition in budgie where the keyboard handling is executed before gnome-session/gnome-settings-daemon expects initialisation. 

  [ Test Plan ]

   * Since it is not an easily reproducible bug (race condition) the test plan is based around what should happen rather than what doesn't.
   * 1) on login open a terminal (CTRL+ALT+T) or an application and type a character such as the quote key or the currency key.
   * If the quote key defaults to something else such as the @ key or the currency key defaults to $ then you a default layout of en_US.
   * Add the keyboard layout applet to your panel
   * from the list provided choose another keyboard layout
   * Repeat test step "1)" above.  Check that your chosen keyboard layout is correctly applied.  It may not be.

   * from the proposed repo install the following packages:

     sudo apt update
     sudo apt install budgie-desktop budgie-core libbudgie-plugin0 libbudgie-private0 libbudgietheme0 libraven0 gir1.2-budgie-1.0

   * Logout and login

   * Repeat the above testing again - on login your expected layout
  should be applied e.g. en_GB if that was your last chosen layout.

  [ Where problems could occur ]

   * Primarily the key issue is introducing a stability issue on budgie such as crash on login.
   * Additionally the other issue is introducing a regression in applying keyboard layouts for more people rather than eliminating the issue.
   * As such this fix has been iteratively developed through a multi-month testing regime with multiple community team members
   * This fix has been uploaded to Debian back in August with no reported issues to-date and similarly to kinetic on a similar time-frame.

  [ Other Info ]
   * N/A


  I have US physical keyboard.
  In the "settings" application I have selected the keyboard layout
  "English (intl. with AltGr dead keys)".
  As expected, I can create, for example an "ä" by typing AltGr+q or Ü by typing AltGr+Shift+y.
  Initially all this works as expected.
  However, after reboot, the special characters do not appear when I press the altGr combinations.
  example; "AltGr+q" produces just "q".
  I checked settings application and even tried "dpkg-reconfigure keyboard-configuration" in terminal, but with no success.
  Only workaround is this:
  1) go to the settings application
  2) in the the settings application, add a second keyboard layout (if not already there)
  3) make the other layout the current layout (move up)
  4) switch back to the desired layout (US international layout in my case), means I move that one up again
  Then it works again until next reboot
  Somehow the settings are ignored until I touch them once in the settings editor...
  The same happens with other layout, for example "English (US,intl. with dead keys)"
  This is Ubuntu Budgie 21.10 (impish)
  maybe I configured something, or it is a bug, i don't know.

To manage notifications about this bug go to: