| Summary: | default print format overridden | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | David Chmelik <dchmelik> |
| Component: | kcm_printer_manager | Assignee: | Daniel Nicoletti <dantti12> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
David Chmelik
2023-03-05 02:03:34 UTC
All my KDE apps use USA letter without an issue. Can you write specific detailed steps to reproduce? Including setting the locales, languages, formats etc. for your system. Thanks! This happens on a KDE Neon PC we didn't set any locale, language, format settings--just left default since installation. The only step is as stated: try to print (preview) from any KDE program such as KATE, Okular, etc., which (though systemsettings says is set to USA letter) are all set on 2L. Can you supply the following? - The output of running `env | grep LANG` in a terminal window - The contents of ~/.config/plasma-localerc - The contents of /etc/locale.conf (In reply to Nate Graham from comment #3) > Can you supply the following? > > - The output of running `env | grep LANG` in a terminal window > - The contents of ~/.config/plasma-localerc > - The contents of /etc/locale.conf u@Hilltop-Heaven:~$ env|grep LANG LANGUAGE=en_US LANG=en_US.UTF-8 #/etc/locale.conf [Formats] LANG=en_US.UTF-8 [Translations] LANGUAGE=en_US u@Hilltop-Heaven:~$ cat /etc/locale.conf LANG=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 Another thing I noticed in KATE is it lists page margins in millimetres, though Okular lists it in inches... but both are outside printable area (2.96mm or 0.12"). The above is for KDE Neon; of course on my Slackware PC I added British English the above is different, but I'm unsure this actually happened on there... just when I used the network printer I thought it might've. We installed printer drivers because they seem to work better than the so-called 'driverless', and are unable to delete that one. Ok, everything on your system looks set up properly for US default print settings. If you're seeing these settings not be respected in the Print Preview window specifically, then that's a Qt bug, since the Print Preview window is 100% Qt code that we don't have control over. The same would be true of the print dialog itself. So I would encourage you to report this issue to the Qt folks at https://bugreports.qt.io/. Once you do, feel free to paste the URL of the bug report in the URL field of this one. Thanks! 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 467269 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 467269 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 |