"Alternate Characters Key" UI not reflecting current choice

Bug #2000423 reported by Gunnar Hjalmarsson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Medium
Gunnar Hjalmarsson
Jammy
Fix Released
Undecided
Gunnar Hjalmarsson
Kinetic
Won't Fix
Undecided
Unassigned

Bug Description

[ Impact ]

When you set an "Alternate Characters Key", only two of the available options — "None" and "Right Alt" — are correctly reflected in the UI. If you select some of the other options, the UI tells you that "None" is selected. The xkb-options dconf value is correct, though.

As an example: If I pick Right Ctrl, xkb-options is correctly changed to ['lv3:ralt_alt', 'lv3:switch']. So it looks like it parses lv3:ralt_alt instead of lv3:switch, and incorrectly concludes that the current value is "None".

[ Test Plan ]

* Install gnome-control-center from jammy-proposed.

* Go to Settings -> Keyboard -> Alternate Characters Key
  and pick some other option but "None" or "Right Alt".

* Make sure that the option you selected is correctly
  reflected in the UI.

[ Where problems could occur ]

This is a targeted fix which only affects a specific control in Settings. Considering the current broken state, I'd say that the risk is minimal that the change would make it worse.

Changed in gnome-control-center (Ubuntu Jammy):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :
Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Uploaded to jammy unapproved queue.

Also informed the upstream author in a thread in the related MR:

https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/910#note_1626366

Changed in gnome-control-center (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.8 KiB)

This bug was fixed in the package gnome-control-center - 1:43.2-1ubuntu1

---------------
gnome-control-center (1:43.2-1ubuntu1) lunar; urgency=medium

  * Merge with Debian. Remaining changes:
    + Add gnome-control-center-faces package to share with unity-control-center
    + Install apport hook
    + debian/control.in:
      - Build-Depend on libwhoopsie-preferences-dev
      - Depend on language-selector-gnome, system-config-printer &
        whoopsie-preferences
      - Don't depend on desktop-base
      - Recommend ibus
      - Suggest instead of recommend gnome-user-share & realmd
      - Don't recommend malcontent-gui or system-config-printer-common
      - Don't recommend or suggest pulseaudio (or even pipewire) stuff
      - Don't recommend libnss-myhostname since we use systemd-resolved
    + debian/gnome-control-center-data.install:
      - Don't install gnome-control-center.pkla since we use
        policykit-desktop-privileges instead
      - Install additional assets used by unity-control-center
    * debian/ubuntu-logo-icon.png, debian/source/include-binaries,
      debian/gnome-control-center-data.install: Include an Ubuntu logo
    * debian/gnome-control-center-data.links:
      - Link audio-speaker-center* to audio-speaker-mono* so that an
        icon is shown in the test speaker panel. (LP: #1704002)
    + debian/rules: Enable whoospie integration
    + Add patches:
      - keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch
      - keyboard-Avoid-modifying-xkb-options-when-user-changes-n.patch
      - u/keyboard-Add-launch-terminal-shortcut.patch
      - u/sound-Allow-volume-to-be-set-above-100.patch
      - u/Allow-tweaking-some-settings-for-Ubuntu-Dock.patch
      - u/background-Allow-configuring-the-ubuntu-accent-color.patch
      - u/multitasking-panel-Sync-workspace-and-monitor-isolation-d.patch
      - u/Modify-Mulitasking-assets-for-accent-colors.patch
      - u/lock-Add-Lock-Screen-on-Suspend-option.patch
      - u/region-Add-Language-Selector-button.patch
      - u/Adapts-the-region-capplet-and-the-language-chooser-in-the.patch
      - u/printers-Temporarily-add-an-additional-advanced-printer-b.patch
      - u/notifications-Handle-.desktop-files-that-got-renamed.patch
      - u/shell-Change-the-default-height-so-all-category-are-on-sc.patch
      - u/connectivity-add-network-connectivity-checking-toggle.patch
      - u/diagnostics-Add-Whoopsie-support.patch
      - u/online-accounts-Hide-window-after-adding-an-online-accoun.patch
      - u/display-Support-UI-scaled-logical-monitor-mode.patch
      - u/Disable-non-working-camera-microphones-panels.patch
      - u/info-overview-Show-updates-in-software-propeties-instead-.patch
      - u/sound-Add-a-button-to-select-the-default-theme.patch
      - u/applications-Launch-snap-store-if-it-is-installed.patch
      - u/display-Allow-fractional-scaling-to-be-enabled.patch
  * d/p/keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch:
    + Add nodefault_option after the main option, not before
      (LP: #2000423)
    + Get back the "Use layout default" switch_row title

gnome-control-center (1:43.2-1) unstable; urgency=medium

  * Team upload
  * ...

Read more...

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

To the SRU team:

I skipped kinetic. Not only because I'm lazy, but also because of limited importance.

The "Alternate Characters Key" control can be assumed to be used by relatively few users. And those who use it typically do it as a one time setting. If a user of an updated jammy (including this fix) upgrades to kinetic, their setting will be kept even if the UI in some cases will say something else.

So while I think it's worth the effort to fix this bug in our latest LTS, it's not worth the hassle of a kinetic SRU.

Changed in gnome-control-center (Ubuntu Kinetic):
status: New → Won't Fix
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Gunnar, or anyone else affected,

Accepted gnome-control-center into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-control-center/1:41.7-0ubuntu0.22.04.6 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-control-center (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I accomplished the steps in the test plan using gnome-control-center{,-data} 1:41.7-0ubuntu0.22.04.6 from jammy-proposed. Issue fixed as expected.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:41.7-0ubuntu0.22.04.6

---------------
gnome-control-center (1:41.7-0ubuntu0.22.04.6) jammy; urgency=medium

  * d/p/keyboard-For-xkb-options-have-Layout-default-toggle-and-N.patch:
    - Add nodefault_option after the main option, not before
      (LP: #2000423).

 -- Gunnar Hjalmarsson <email address hidden> Sun, 25 Dec 2022 15:47:24 +0100

Changed in gnome-control-center (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-control-center has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.