[okular] [Bug 502236] New: Specifying pages when printing sends the specified pages to the printer but also sends the original range to the printer

Roman Karwacik bugzilla_noreply at kde.org
Mon Mar 31 13:13:59 BST 2025


https://bugs.kde.org/show_bug.cgi?id=502236

            Bug ID: 502236
           Summary: Specifying pages when printing sends the specified
                    pages to the printer but also sends the original range
                    to the printer
    Classification: Applications
           Product: okular
           Version: 24.12.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: printing
          Assignee: okular-devel at kde.org
          Reporter: roman.karwacik at redteam-pentesting.de
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Open A PDF with at least 2 pages (my PDF has 4 pages)
2. File -> Print
3. Expand the Options
4. Select the "Pages" Checkbox
5. Put in "2"

OBSERVED RESULT
No document is printed

EXPECTED RESULT
Page 2 is printed

SOFTWARE/OS VERSIONS
Linux: Fedora 4

ADDITIONAL INFORMATION
I inspected the IPP traffic using Wireshark, and the document which is sent to
the server when doing the steps above is identical to using the "current page"
checkbox, but the "current page" checkbox IS working. In the IPP Create-Job
Request the page-ranges job-attribute-tag is specified only for the explicit
specification of the pages, this attribute seems to be the only difference to
the two methods on a protocol level. It seems like with the okular is cropping
the pages according to the specification on the Pages checkbox, and is
additionally sending the page ranges, when it does not have to do this.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list