Bug 1759221
Summary: | after changing Formats to Germany then back to English, localectl shows Germany even after a reboot | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> | ||||
Component: | gnome-control-center | Assignee: | Pete Walter <walter.pete> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 31 | CC: | bberg, bugzilla, gmarr, gnome-sig, mcatanzaro+wrong-account-do-not-cc, petersen, robatino, walter.pete | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | AcceptedBlocker | ||||||
Fixed In Version: | gnome-control-center-3.34.1-2.fc31 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-10-08 00:28:11 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1644939 | ||||||
Attachments: |
|
Description
Chris Murphy
2019-10-07 16:08:05 UTC
Proposed as a Blocker for 31-final by Fedora user chrismurphy using the blocker tracking app because: "All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test. " Language and Formats is certainly basic functionality and so is reverting changed settings. Yet that's clearly broken. a) Regression b) GUI got me into this mess, GUI should get me out c) non-obvious I can use localectl as a work around to reset these variables (untested) rather than doing a clean install +1 blocker if other users can reproduce this Created attachment 1623227 [details]
screenshot
Basically once I change Format, it can't be reverted.
The problem is that g-c-c calls the SetLocal DBus method without any of the LC_* variables set. It does so, because the language and format match, in the expectation that localed will unset the variables. However, localed does not do so. The fix is to just always set the variables to their correct values in set_localed_locale (cc-region-panel.c). localed seems to be smart enough and not show them at that point. FEDORA-2019-6fefa9e3ee has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6fefa9e3ee https://koji.fedoraproject.org/koji/taskinfo?taskID=38124556 Fixed for me on two systems. gnome-control-center-3.34.1-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. Discussed during the 2019-10-07 blocker review meeting: [0] The decision to classify this bug as an "AcceptedBlocker" was made as it violates the following criterion: "All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test" (this counts as 'basic functionality' of the Language and Formats applet) [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-10-07/f31-blocker-review.2019-10-07-16.02.txt |