Comment 0 for bug 1846821

Revision history for this message
Maciej Puzio (maciej-puzio) wrote : Qt print dialog does not remember page size

Please backport Qt patch 213677 to qtbase-opensource-src
https://codereview.qt-project.org/c/qt/qtbase/+/213677

In Qt5 applications, print dialog (Printer Properties) always defaults to A4 paper size, even when Letter is set as a default in all system and KDE preferences. After changing manually, Letter-size pages print correctly, but the setting does not stick. The issue also affects other print settings, e.g. margins, though the aforementioned patch does not deal with these. A similar issue regarding the duplex setting was reported as Launchpad bug 1776173, and subsequently fixed, but other print settings continue to cause problems.

Behavior expected: Print dialog would default to Letter paper size, which is set in all available system and KDE preferences, and that was selected for previous prints.

Behavior observed: Print dialog always defaults to A4, and page size needs to be changed manually before every print.

Software versions:
lsb_release: Ubuntu 18.04.3 LTS
libqt5core5a: 5.9.5+dfsg-0ubuntu2.3
Kernel: 5.0.0-25-generic