← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1846821] Re: Qt print dialog has wrong default page size

 

This bug was fixed in the package qtbase-opensource-src - 5.9.5+dfsg-
0ubuntu2.4

---------------
qtbase-opensource-src (5.9.5+dfsg-0ubuntu2.4) bionic; urgency=medium

  * Fix default paper size in the print dialog (LP: #1846821).

 -- Dmitry Shachnev <mitya57@xxxxxxxxxx>  Thu, 31 Oct 2019 00:00:50
+0300

** Changed in: qtbase-opensource-src (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1846821

Title:
  Qt print dialog has wrong default page size

Status in qtbase-opensource-src package in Ubuntu:
  Fix Released
Status in qtbase-opensource-src source package in Bionic:
  Fix Released

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

  [Impact]
  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.

  This impacts users of Qt applications who print things and live in
  countries where ISO 216 is not default, most notably the United
  States.

  [Test Case]
  1) Use system settings (KDE preferences, gnome-control-center or system-config-printer) to set the printer size to Letter.
  2) Open any Qt application (e.g. KWrite or Falkon).
  3) Open a print dialog.
  4) Behavior expected: Print dialog would default to Letter paper size and not A4.

  [Regression Potential]
  Two possibilities for regressions that I can imagine are:
  - crashes because something is not defined;
  - wrong default paper size (A4 wanted but CUPS returns something else).

  [Additional Information]
  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.

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1846821/+subscriptions


References