[okular] [Bug 524637] New: Print Preview shows only the last page of a multi-page PDF while actual printing prints all pages
bug-control at kde.org
bug-control at kde.org
Sun Aug 23 10:52:02 BST 2026
https://bugs.kde.org/show_bug.cgi?id=524637
Bug ID: 524637
Summary: Print Preview shows only the last page of a multi-page
PDF while actual printing prints all pages
Classification: Applications
Product: okular
Version First 25.12.3
Reported In:
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: printing
Assignee: okular-devel at kde.org
Reporter: ccchang at cc.ncue.edu.tw
Target Milestone: ---
Created attachment 195397
--> https://bugs.kde.org/attachment.cgi?id=195397&action=edit
Print Preview shows only the last page of a multi-page PDF while actual
printing prints all pages
SUMMARY
When opening a multi-page PDF in Okular, File -> Print Preview only shows
one page ("1 of 1"), and that page is the last page of the PDF.
The normal document view correctly shows all pages, the Print dialog correctly
detects all pages, and actual printing prints all pages successfully.
STEPS TO REPRODUCE
1. Open a 2-page PDF in Okular.
2. Verify that Okular shows "1 of 2" / "2 of 2" in normal viewing mode.
3. Open Ctrl+P.
4. Select "Print all" and "All Pages".
5. Close the print dialog.
6. Select File -> Print Preview.
OBSERVED RESULT
Print Preview displays only one page and shows:
1 of 1
The displayed page is the last page of the PDF.
For example, with a 2-page PDF, page 2 is shown in Print Preview even when
page 1 is currently selected in the main Okular window.
EXPECTED RESULT
Print Preview should contain both pages and allow navigation between:
1 of 2
2 of 2
ADDITIONAL INFORMATION
The PDF itself is valid:
Pages: 2
Page size: 841.89 x 595.276 pts (A4)
PDF version: 1.7
The Print dialog correctly shows:
- Print all
- Pages from 1 to 2
- Page Set: All Pages
Actual printing through CUPS prints both pages successfully.
Command used:
lp -d HP_LaserJet_M402dn myPPT_A4.pdf
The physical printer prints both pages correctly.
Therefore the issue appears to affect Print Preview only.
SOFTWARE/OS VERSIONS
Operating System: Ubuntu 26.04 LTS
Okular:
25.12.3
Package:
okular 4:25.12.3-0ubuntu1
Qt PrintSupport:
libqt6printsupport6 6.10.2+dfsg-7
Architecture:
amd64
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list