Summary: | Print to file paper size setting reverts to A4 every time | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Andrew Munkres <amunkres> |
Component: | print-dialog | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | frank78ac, jason, jlayt, m.weghorn, steve, s_chriscollins |
Priority: | NOR | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Andrew Munkres
2010-03-03 16:05:12 UTC
Oops, I meant to say: "I'm using KDE 4.4.1 and Qt 4.6.2, on Linux. " Thanks for the bug report! > Maybe this is related to bug 207376? I think both issues are probably duplicates of bug 180051... Not a KDE bug. http://bugreports.qt.nokia.com/browse/QTBUG-6471 The Qt bug report is titled "QPrintDialog for unix does not correctly read CUPS settings". However, I encounter this problem when using the pseudo-printers "Print to File (PDF)" and "Print to File (Postscript)". Is CUPS involved at all when printing to a file? If not, then is the "QPrintDialog for unix does not correctly read CUPS settings" bug actually the cause of this? The CUPS code is shared with the PDF/PS code as that is the file format all CUPS print jobs are rendered as, so it's all tied in together. However there's no harm in flagging it up for their attention. I suspect that normally the code would get the paper size from the CUPS printer definition, but perhaps gets lost when there is no printer to get it from. I suspect it is supposed to get it from the system locale, are you sure your system locale is set to a country that uses Letter paper, e.g. US (I'm not sure if Arch has a GUI for doing this but see http://wiki.archlinux.org/index.php/Locale). Note this is different than setting the KDE locale and paper size in System Settings (that's a separate issue we need to fix). I have LANG set to "en_US.utf8". Just now I re-ran "locale-gen", then logged out and logged back in. It still defaults to A4. This bug still remains using Kubuntu 11.04 (KDE 4.6.3 & Qt 4.7.2) even though the upstream Qt bug linked in comment #3 was supposedly fixed in Qt 4.6.3. What is going on here? This bug is still Present in Okular 0.14.3 on Kubuntu 12.04.2 / KDE 4.8.5 / QT 4.8.1. Five years later... This bug is still present in Okular 1.3.3 on Ubuntu 18.04. As Albert mentioned in comment 3, this is not a bug in any of the KDE components, but the behaviour comes from the underlying Qt print dialog, so please file a bug report in the Qt issue tracker at https://bugreports.qt.io/ instead. Filed a Qt bug: https://bugreports.qt.io/browse/QTBUG-69562 |