ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07952
[Bug 1776173] Re: qt print dialog shipped with bionic ignores printer defaults
This bug was fixed in the package qtbase-opensource-src - 5.11.1+dfsg-
7ubuntu3
---------------
qtbase-opensource-src (5.11.1+dfsg-7ubuntu3) cosmic; urgency=medium
* Backport upstream commit to fix duplex printing (LP: #1776173).
Thanks to Robert Bredereck for the initial patch!
-- Dmitry Shachnev <mitya57@xxxxxxxxxx> Thu, 28 Feb 2019 13:26:39
+0300
** Changed in: qtbase-opensource-src (Ubuntu Cosmic)
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/1776173
Title:
qt print dialog shipped with bionic ignores printer defaults
Status in qtbase-opensource-src package in Ubuntu:
Fix Released
Status in qtbase-opensource-src source package in Bionic:
Fix Committed
Status in qtbase-opensource-src source package in Cosmic:
Fix Released
Bug description:
[Impact]
All kde applications shipped with ubuntu and particularly kubuntu bionic print via the qt print dialog, that, unfortunately, does not seem to respect the defaults set for the printer.
Specifically, every time one starts to print the "duplex" option gets
reset to "none" even for those printers that were configured for "long
edge" duplex by default.
This may lead to a huge *waste of paper*: people print, expecting the
duplex, do not get it, throw away the printout and reprint, for a
total of 3 times the paper usage if the print dialog respected the
default.
[Test Case]
1) Install a printer that can duplex and configure it to do duplex with long-edge binding from the printer setup dialog.
2) Open a PDF with okular, and open the print dialog. Select the
printer above.
3) Press the "Options" button to enlarge the dialog to also present
the options. Select the "options" tab, right of "copies". Verify that
Duplex Printing is preset to "None"
This is wrong, because the printer was configured to do duplex with
long-edge binding.
4) Print and close okular.
5) Reopen okular (with the same or another PDF file). Open again the
print dialog and select the same printer.
6) Redo 3). Again see that Duplex Printing is preset to "None",
instead of being at the default or at the previously used setup.
[Regression Potential]
The proposed patch only changes the default settings. The regression potential may be that the values are wrong, although they are already wrong.
In case there is some bug it may lead to crashes. But this code is in
the latest stable Qt release and I am not aware of any such crashes
reported.
[Other Info]
The proposed patch is a backport of the following upstream commits:
- https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f6fd3f18d301cde3
- https://code.qt.io/cgit/qt/qtbase.git/commit/?id=fa854f214a3c812e
[Original Description]
See also https://bugs.kde.org/show_bug.cgi?id=395150
As a final comment and in general, I think that Bionic should be
updated to use the QT 5.11 print subsystem (from 5.9.5) as soon as
possible (at least via a kubuntu ppa). The QT 5 print dialog has
always been extremely poor, with no possibility to provide information
about things like print quality and resolution, paper type, stapling
(for printers supporting it), etc. Now, QT 5.11 has finally a better
print dialog and it would be great if the bionic users could use it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1776173/+subscriptions
References