Changing language doesn't show previously selected language

Bug #1786880 reported by Robert Ancell on 2018-08-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Medium
Gunnar Hjalmarsson

Bug Description

[Impact]
Changing language in Settings doesn't show currently selected language.

[Test Case]
1. Open Settings
2. Go to "Region & Language" panel
3. Click on "Language"

Expected result:
The list of available languages shows the current language selected.

Observed result:
No languages are shown as selected.

Robert Ancell (robert-ancell) wrote :

This seems due to the 0010-set-language.patch in accountsservice. It means when Settings chooses a locale (e.g. en_US.UTF-8) this is changed to en_US in accountsservice. When Settings uses this to select the current language it doesn't match against any entry.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Gunnar Hjalmarsson (gunnarhj) wrote :

I think it was a simple typo when refreshing 52_region_language.patch. Patch attached. Fixes bug #1786881 too.

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: Triaged → In Progress
Gunnar Hjalmarsson (gunnarhj) wrote :

Launchpad branch:

https://code.launchpad.net/~gunnarhj/ubuntu/+source/gnome-control-center/+git/gnome-control-center/+ref/fix-patch

I couldn't figure out how to request a merge proposal, though.

Iain Lane (laney) wrote :

I committed Gunnar's branch - hopefully that fixes the issue.

It'll be bundled with the next upload, unless we don't get a release for a while in which case we should upload it.

Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.29.90-1~ubuntu2

---------------
gnome-control-center (1:3.29.90-1~ubuntu2) cosmic; urgency=medium

  [ Gunnar Hjalmarsson ]
  * Fix a typo in debian/patches/52_region_language.patch which broke
    displaying the selected language in the language panell of
    gnome-control-center (LP: #1786880)
  * debian/rules:
    Make use of updated dh_translations; drop workarounds.

 -- Iain Lane <email address hidden> Fri, 24 Aug 2018 11:53:10 +0200

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers