← Back to team overview

budgie-remix-bug-busters team mailing list archive

[Bug 1998214] Re: Keyboard layout always defaults to the first available layout

 

This bug was fixed in the package budgie-desktop -
10.6.4+git20220830-2ubuntu1

---------------
budgie-desktop (10.6.4+git20220830-2ubuntu1) kinetic; urgency=medium

  * Bug-fix
    - Ensure last keyboard layout used is the keyboard layout chosen
      on logon
      Add-a-small-delay-to-ensure-keyboard-layout-defaults.patch
      (LP: #1998214)

 -- David Mohammed <fossfreedom@xxxxxxxxxx>  Thu, 01 Dec 2022 20:55:41
+0000

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

-- 
You received this bug notification because you are a member of ubuntu
budgie bug busters, which is subscribed to budgie-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/1998214

Title:
  Keyboard layout always defaults to the first available layout

Status in budgie-desktop package in Ubuntu:
  Fix Released
Status in budgie-desktop source package in Jammy:
  Fix Released
Status in budgie-desktop source package in Kinetic:
  Fix Released
Status in budgie-desktop source package in Lunar:
  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 the first keyboard layout even though another layout such as en_GB is set as the current and is shown via the keyboard layout applet.
   * this issue is specifically about keyboard layouts that involve ibus.
     keyboard layouts where ibus is not available/uninstalled already 
     correctly default to the last chosen keyboard layout.

  [ Test Plan ]

   * Test that ibus-daemon is running
     ps -ef | grep ibus-daemon
     if the process is running then proceed with the test plan
     if the process is not running then install ibus, logout and login
     to test that ibus-daemon is indeed running
   * 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 have 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.

   * 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.
   * Lastly purge ibus
     sudo apt purge ibus
   * logout and login
   * check that the last keyboard layout is applied

  [ 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
  https://discourse.ubuntubudgie.org/t/language-switcher/5864
  https://discourse.ubuntubudgie.org/t/cant-change-keyboard-layout/5293

  [ Other Info ]

   * N/A

  ---

  Users with two or more keyboard layouts find that their initial
  keyboard layout on login is the first available layout rather than the
  last layout chosen before logout.

  This causes a mismatch between the keyboard layout applet and the
  keyboard layout observed by the user - confusing.  The user has to
  switch back to the first layout and back to the last layout to
  initialise the keyboard layout used.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: budgie-core 10.6.4+git20220830-2
  ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
  Uname: Linux 5.19.0-23-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: Budgie:GNOME
  Date: Tue Nov 29 13:13:41 2022
  InstallationDate: Installed on 2022-11-27 (1 days ago)
  InstallationMedia: Ubuntu-Budgie 22.10 "Kinetic Kudu" - Release amd64 (20221018.1)
  SourcePackage: budgie-desktop
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/budgie-desktop/+bug/1998214/+subscriptions



References