Summary: | LC_PAGE should be LC_PAPER? | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Stefan Becker <chemobejk> |
Component: | kcm_regionandlang | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hanyoung, nate |
Priority: | NOR | ||
Version: | 5.27.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/27de75798ee19fc1629c99cc13ee08754e0c47bd | Version Fixed In: | 5.27.4 |
Sentry Crash Report: |
Description
Stefan Becker
2023-03-13 09:47:28 UTC
Maybe further evidence that LC_PAGE is not the correct variable: $ LC_PAGE= LC_PAPER= libreoffice -> print dialog shows "letter" as paper size (CORRECT for LANG=es_US.UTF-8) $ LC_PAGE=fi_FI.UTF-8 LC_PAPER= libreoffice -> print dialog shows "letter" as paper size (WRONG) $ LC_PAGE= LC_PAPER=fi_FI.UTF-8 libreoffice -> print dialog shows "A4" as paper size (CORRECT) Whoops! It should indeed. Good catch. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2740 Git commit 7b7e70b2262285dbfc294cc6617f4c0787a61d5c by Nate Graham. Committed on 13/03/2023 at 22:28. Pushed by hanyoung into branch 'master'. kcms/region_language: set LC_PAPER, not LC_PAGE The correct name of this environment variable/format is "LC_PAPER." We look for it by the correct name in kcmregionandlang.cpp, but not in regionandlangsettingsbase.kcfg, causing a mismatch. Related: bug 466861 FIXED-IN: 5.27.3 M +1 -1 kcms/region_language/regionandlangsettingsbase.kcfg https://invent.kde.org/plasma/plasma-workspace/commit/7b7e70b2262285dbfc294cc6617f4c0787a61d5c Git commit 27de75798ee19fc1629c99cc13ee08754e0c47bd by Han Young, on behalf of Nate Graham. Committed on 13/03/2023 at 23:24. Pushed by hanyoung into branch 'Plasma/5.27'. kcms/region_language: set LC_PAPER, not LC_PAGE The correct name of this environment variable/format is "LC_PAPER." We look for it by the correct name in kcmregionandlang.cpp, but not in regionandlangsettingsbase.kcfg, causing a mismatch. Related: bug 466861 FIXED-IN: 5.27.3 (cherry picked from commit 7b7e70b2262285dbfc294cc6617f4c0787a61d5c) M +1 -1 kcms/region_language/regionandlangsettingsbase.kcfg https://invent.kde.org/plasma/plasma-workspace/commit/27de75798ee19fc1629c99cc13ee08754e0c47bd |