Bug 470196

Summary: print preview is empty
Product: [Applications] okular Reporter: cnoam
Component: printingAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: aacid
Priority: NOR    
Version: 23.04.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF file to demonstrate the print problem

Description cnoam 2023-05-24 07:58:16 UTC
SUMMARY
The "Print preview" shows empty pages.

STEPS TO REPRODUCE
1. open a PDF  (I was able to replicate with any PDF I tried)
2. select File -> print preview
3. 

OBSERVED RESULT

correct  number of pages is displayed, and they are all blank

EXPECTED RESULT
you know.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:    ubuntu 22.04 with Gnome

(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 



ADDITIONAL INFORMATION
PDF backend: 
Using Poppler 23.03.0
Comment 1 Albert Astals Cid 2023-05-24 22:56:30 UTC
Attach a pdf file you have this problem with pelase
Comment 2 cnoam 2023-05-28 06:58:27 UTC
Created attachment 159288 [details]
PDF file to demonstrate the print problem
Comment 3 Albert Astals Cid 2023-05-28 20:45:19 UTC
Works fine for me.
Comment 4 cnoam 2023-05-29 12:35:47 UTC
What other info can I provide?

PS:
$ cat /etc/X11/default-display-manager 
/usr/sbin/gdm3
Comment 5 Albert Astals Cid 2023-06-21 14:31:28 UTC
This seems to be a problem with the Ubuntu packages to me, go and open a bug in the ubuntu side i guess?
Comment 6 cnoam 2023-06-27 06:08:40 UTC
(In reply to Albert Astals Cid from comment #5)
> This seems to be a problem with the Ubuntu packages to me, go and open a bug
> in the ubuntu side i guess?

I switched from Wayland (the default manager in ubuntu 22.04) to X11 , and now the preview is fine.

Hope it helps others.