Bug 452556

Summary: Okular complains about errors in PDF without details, online tools validate this PDF fine
Product: [Applications] okular Reporter: Yuri <yuri>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: aacid, kde, newuser
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Other   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yuri 2022-04-12 17:39:49 UTC
Okular complains that "Some errors were found in the document. Okular might not be able to show the content correctly." in this pdf http://mojave-computing.com/documents/pitch-deck-okular-problems-reported.pdf

Online PDF validation tools don't complain.

Suggestion: you should have a button showing details of validation errors in Okular.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-04-12 22:47:22 UTC
Okular is not a validation tool, and the PDF is indeed faulty.

Personally i don't see anything for us to do here.
Comment 2 Yuri 2022-04-12 23:03:00 UTC
It should print what's wrong with it when it complains.

This pdf was generated with Goodle Slides.
Comment 3 Albert Astals Cid 2022-04-12 23:07:31 UTC
> It should print what's wrong with it when it complains.

That's your opinion, i disagree.

> This pdf was generated with Goodle Slides.

So what?
Comment 4 newuser 2025-06-30 02:47:10 UTC
I have the same issue, Okular complains it has found errors in a pdf file but doesn't give any details about what these errors are. Why would a program complain about errors without giving any clue about what these errors are to make it possible to fix them? Why show the error at all if you don't want to help the user, it is only about annoying the user instead of helping him?
Comment 5 Sune Vuorela 2025-08-08 12:46:12 UTC
(In reply to newuser from comment #4)
> I have the same issue, Okular complains it has found errors in a pdf file
> but doesn't give any details about what these errors are. Why would a
> program complain about errors without giving any clue about what these
> errors are to make it possible to fix them? Why show the error at all if you
> don't want to help the user, it is only about annoying the user instead of
> helping him?

If we were showing you the issue, it could be stuff like "Document stream empty" or "Catalog object is wrong type" or "Illegal character X at position Y" - what would you do with that knowledge?