Bug 402779 - Okular, when printing 2 pages per sheet, prints the wrong pages.
Summary: Okular, when printing 2 pages per sheet, prints the wrong pages.
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.3.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 07:07 UTC by Andy Goss
Modified: 2019-04-15 06:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Goss 2019-01-02 07:07:36 UTC
SUMMARY
If I try and print two pages from a PDF (a Canon camera manual in this instance), two per A4 sheet, I get four pages, the wrong ones, two per sheet.
The result is the same for larger numbers of pages.
Specifying Print to File causes the pages per sheet option to be greyed out. Also ignores the page number selection and copies the whole file over, but bigger, with each page placed as what looks like A5 in the middle of an A4 page.

STEPS TO REPRODUCE
1. Open a PDF file with okular.

2. Open the print dialog.

3. Open Printer Properties

4. Set Pages per Sheet to 2. OK.

5. Open Options.

6. Select specific pages. (I did not try the Pages From as I needed specific single pages from the file)

7. Print.

OBSERVED RESULT
Four pages are printed, two per sheet. The second of each pair is a page twice the specified page number, the first is the page before.
For instance, if I specify pages 65 and 73, I get pages 129, 130, 145, 146.

EXPECTED RESULT
One sheet containing two pages.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: Open SUSE Leap 15
KDE Plasma Version:  plasmashell 5.12.6
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION

Leap 15 upgraded from 42.3
Comment 1 Nate Graham 2019-01-15 16:39:19 UTC
Albert/other Okular devs, was this a Qt issue? I forget.
Comment 2 Albert Astals Cid 2019-04-14 17:58:01 UTC
yes, this is a bug in Qt. Please report it to https://bugreports.qt.io/ and tell us the bug number so we can keep track.
Comment 3 Andy Goss 2019-04-15 06:22:51 UTC
Raised QTBUG-75152.