Bug 469506

Summary: Thumbnails of PDF have no background
Product: [Applications] gwenview Reporter: Alexander Wilms <f.alexander.wilms>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: PDF where the white background is visible
Thumbnail of PDF where the white background is visible
PDF where the white background is not visible
Thumbnail of PDF where the white background is visible

Description Alexander Wilms 2023-05-08 19:27:46 UTC
Created attachment 158780 [details]
PDF where the white background is visible

SUMMARY
When I want to get an overview of a lot of PDF files, I open one in Gwenview and navigate / delete using the keyboard.
However, the thumbnails of PDFs contain no white background.

The background and a drop shadow are shown if the PDF contains a white background shape, as confirmed by opening the PDF in LibreOffice Draw.


STEPS TO REPRODUCE
1. Open a PDF in Gwenview
2. Enable thumbnails

OBSERVED RESULT
The thumbnail has no white background, instead the gray background of the widget is visible.

EXPECTED RESULT
I expect the thumbnail to look like in Okular.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230504
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.3.1-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Alexander Wilms 2023-05-08 19:29:35 UTC
Created attachment 158781 [details]
Thumbnail of  PDF where the white background is visible
Comment 2 Alexander Wilms 2023-05-08 19:33:14 UTC
Created attachment 158782 [details]
PDF where the white background is not visible
Comment 3 Alexander Wilms 2023-05-08 19:34:52 UTC
Created attachment 158784 [details]
Thumbnail of PDF where the white background is visible
Comment 4 Alexander Wilms 2023-08-05 17:00:52 UTC
Appears to be fixed as of Gwenview commit ede9a3413749ebdd3a05908125b015139085ccc6