Bug 395517 - can't set print default to duplex
Summary: can't set print default to duplex
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.3.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-17 08:19 UTC by Amnon
Modified: 2018-10-22 16:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (47.96 KB, image/png)
2018-06-17 08:19 UTC, Amnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amnon 2018-06-17 08:19:51 UTC
Created attachment 113384 [details]
screenshot

As of the latest version:
  KUBUNTU 18.04
  OKULAR 1.3.3
that I installed a few says ago, OKULAR ignores the system-wide printer default "long side duplex", and offers "none" as the default.

This causes frequent wasteful printing!
Comment 1 Michael Weghorn 2018-06-18 07:35:26 UTC
Thanks for your report.

This is an issue in the Qt print dialog which has been fixed in the meantime, s. https://codereview.qt-project.org/#/c/226881/ .

The problem should therefore disappear once you have Qt 5.12 or newer on your system.
Comment 2 Amnon 2018-06-18 07:55:17 UTC
My system (KUBUNTU 18.04) has Qt ver 5.9.5. Any idea if and when the UBUNTU update system will update to Qt 5.12 or above?
Comment 3 Michael Weghorn 2018-06-18 10:17:05 UTC
The Qt 5.12 upstream release is planned for the end of this year [1] and Ubuntu usually does not update software major versions during a release cycle, so Qt >= 5.12 will probably not be available before Ubuntu 19.04.

What you can try to do is open a bug against Ubuntu and ask whether they can backport the commit mentioned in comment 1 to the Qt version in Ubuntu 18.04, but I'm not sure they will do this. (I think Ubuntu usually mostly fixes security and other major issues during a release.)

[1] https://wiki.qt.io/Qt_5.12_Release
Comment 4 Amnon 2018-06-19 09:06:16 UTC
I just made this bug report on the KUBUNTU list: 

https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1777615
Comment 5 Amnon 2018-07-17 17:19:30 UTC
Nobody seems to want to do anything about this... 

Is there a good alternative to send a pdf file to print, other than OKULAR?
Comment 6 Yuri Chornoivan 2018-07-17 17:26:48 UTC
(In reply to Amnon from comment #5)
> Nobody seems to want to do anything about this... 
> 
> Is there a good alternative to send a pdf file to print, other than OKULAR?

MuPDF, Foxit Reader Linux
Comment 7 Amnon 2018-07-22 16:44:32 UTC
I tried MuPDF - it has virtually no controls, and no print command as far as I can tell. 

Am I to understand (by reading between the lines) that there is some breakdown between the OKULAR team and the UBUNTU team?
Comment 8 Albert Astals Cid 2018-07-28 20:52:13 UTC
(In reply to Amnon from comment #7)
> I tried MuPDF - it has virtually no controls, and no print command as far as
> I can tell. 
> 
> Am I to understand (by reading between the lines) that there is some
> breakdown between the OKULAR team and the UBUNTU team?

I don't know which lines you're reading, but no.

You should really stop asking for support about other tools other than Okular here, if you want to get support for mupdf or Foxit do so in their support forums, not on okular bug tracker.
Comment 9 Amnon 2018-10-22 16:02:35 UTC
Despite the unpleasantness ambient in the comments of Albert Astals Cid, I should mention that recently I am using *EVINCE* (aka Document Viewer) *only* to print pdf documents. (I print a lot these days since writing a book.) 

Reasons:
1) I get correct font size in the iutput. (cf. Bug 336617, Bug 396664, Bug 399198).

2) The duplex preference is respected.
Comment 10 Luigi Toscano 2018-10-22 16:07:06 UTC
As pointed out previously, this specific issues (default value of duplex) was a Qt issue and it's fixed only in a non-yet released version of Qt. From the point of view of Okular there is nothing else that we can do.
Other issues, if present, should be discussed in their own bugs.