Bug 410320

Summary: Printing of range does not work
Product: [Applications] okular Reporter: Axel Braun <axel.braun>
Component: printingAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version: 1.7.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-77351
Latest Commit: Version Fixed In:

Description Axel Braun 2019-07-28 16:21:55 UTC
SUMMARY
I want to print a range of pages from a PDF document, like
1,3,5,7,9-22

That does not work. Instead, the whole document is printed, as without any selection
Comment 1 Nate Graham 2019-08-05 00:29:27 UTC
Does the same thing happen if you print a range like that in Kate or another KDE app that uses the standard Qt print dialog? Or is it just Okular?
Comment 2 Axel Braun 2019-08-05 19:53:46 UTC
(In reply to Nate Graham from comment #1)
> Does the same thing happen if you print a range like that in Kate or another
> KDE app that uses the standard Qt print dialog? Or is it just Okular?

Yes, same result. I printed a large text file to a PDF, pages 1,3,5-7 and got the full file printed.

I still see a slight difference: PDF has fixed pages, while simple text file may be somewhat 'dynamic'. Dunno if that makes a difference
Comment 3 Nate Graham 2019-08-06 02:13:25 UTC
Thanks! Unfortunately that means the problem is in the Qt print dialog itself, which is what all these apps are using. :( Please report this to https://bugreports.qt.io/ and add the URL of your Qt bug report to the URL field of this one. Thanks!
Comment 4 Axel Braun 2019-08-06 18:05:50 UTC
https://bugreports.qt.io/browse/QTBUG-77351
Comment 5 Axel Braun 2019-08-06 18:06:24 UTC
added to URL
Comment 6 Nate Graham 2019-08-06 18:16:04 UTC
Thank you!