Summary: | Print options properties dialog does not respect regional measure system | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Martin van Es <bugs> |
Component: | print-dialog | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | cfeck, jlayt |
Priority: | NOR | ||
Version: | 4.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin van Es
2010-01-31 11:57:56 UTC
The print options actually default to your CUPS Printer setting, i.e. the actual page size you have in the printer, the Regional settings have have nothing to do with it (it does get used in apps like KWord to set the default document page size). We have seen this before, you need to check you CUPS settings instead to make sure the printer is set to A4 and not Letter. The bug report is not about the "size" of the paper, but about the "unit" this size is presented in (Metric vs Imperial). This would be a KDE bug if KDE systemsettings didn't make sure changes to the LC_MEASUREMENT variable are propagated to applications. I am not sure if it uses the glibc "setlocale" calls to affect the LC_MEASUREMENT system locale for the measuring system. Qt should at least read this value. Well, Qt's printing dialog respects http://doc.trolltech.com/4.6/qlocale.html#measurementSystem which in turn uses system locale functions to find the measurement system. Ah, sorry, my bad, we get so many of the other report it's become habit :-) We use the Qt print dialog which is only partially integrated with KDE, it takes it's locale settings from Qt which uses the system locale and not the KDE locale. The immediate fix here is to obviously fix the system locale settings to be metric (this would be affecting all non-KDE apps you run). Longer term we do need to look at the whole issue of KDE locale versus system locale, we don't handle it well, and it's an issue on other platforms like Windows and OSX too. But that would be an issue for a different bug against localization. |