Bug 439554 (pdf_thumbnail)

Summary: Visual bug on some PDF previews
Product: [Frameworks and Libraries] kio-extras Reporter: Márcio Homem <marcio.homem>
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: bob, izerpizer, kfm-devel, nate, postix, sitter
Priority: NOR    
Version: 22.08.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing the bug
A PDF that shows the bug
A PDF that does not show the bug
Another screenshot showing the bug

Description Márcio Homem 2021-07-06 11:58:28 UTC
SUMMARY

Some PDFs show the preview/thumbnail larger than the first page itself, like a spread doule page, blank on the left and with de correct page on the right.

STEPS TO REPRODUCE

1. Download the PDF 
2. Activate the PDF previews

OBSERVED RESULT

Some PDFs shows the correct preview, and some shows this larger version. All files opens on okular, and the first page is normal.

EXPECTED RESULT

All the PDFs must show the first page correctly as the preview/thumbnail.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.22 User Edition
(available in About System)
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

This bug happened on previous versions of KDE, on Kubuntu.
Comment 1 Márcio Homem 2021-07-06 11:59:45 UTC
Created attachment 139893 [details]
Screenshot showing the bug
Comment 2 Márcio Homem 2021-07-06 12:04:24 UTC
Created attachment 139894 [details]
A PDF that shows the bug
Comment 3 Márcio Homem 2021-07-06 12:05:56 UTC
Created attachment 139895 [details]
A PDF that does not show the bug

PDF from the same publisher that does not show the bug described
Comment 4 Márcio Homem 2021-07-06 12:07:36 UTC
Created attachment 139896 [details]
Another screenshot showing the bug

Screenshot of the folder containing the PDFs attached to this bug report.
Comment 5 postix 2021-07-06 16:29:19 UTC
Can confirm this issue on

Operating System: openSUSE Tumbleweed 20210704
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.13-1-default (64-bit)
Comment 6 Harald Sitter 2021-07-07 14:09:19 UTC
Moving to kio-extras. Technically I think the PDF thumbnailer is in kdegraphics but that has no product, so to kio-extras we go! :|
Comment 7 Bob Igo 2022-10-23 14:47:09 UTC
Occurs for me on KDE 5.24 on Kubuntu 22.04. As with the original report, even from the same vendor, the behavior varies, and reading the PDF never shows a leading blank page.
Comment 8 Bob Igo 2023-02-26 15:06:59 UTC
FYI, I still see this in Kubuntu 22.10, Plasma 5.25.5 with kio-extras 22.08.2.
Comment 9 Kalcifer 2023-09-10 00:46:15 UTC
I have the same issue.

Arch Linux, Kernel v6.4.12-arch1-1
KDE Plasma v5.27.7, Wayland