Summary: | GUI hangs with big pdf | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Richard Llom <richard.llom> |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid, bugseforuns, haxtibal |
Priority: | NOR | ||
Version First Reported In: | 1.7.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Richard Llom
2019-10-04 19:27:09 UTC
okular 1.9.2 hangs even without scrolling. Operating System: Arch Linux KDE Plasma Version: 5.17.90 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1 When using poppler command line tool $ pdfimages -list Fibel_Waermerueckgewinnung.pdf it takes > 2 minutes to generate information about 50 embedded images. I'd say that's peculiarly slow, we should have a closer look (will do, but need to find some time) and we should probably track the issue at poppler. For whatever reason the document contains 166152 radial shading fills, each using a 3-samples, linear-interpolating color function. Poppler spends ~80% of overall processing time there. IOW, the document requests heavy processing and gets it. Try the document in other readers, e.g. PDF.js/Firefox, performance is same or worse than with Okular/poppler. Only Adobe renders the document considerably faster, seemingly they have some optimization. Albert, CCed you because I think you're familiar with the shading stuff in poppler, how would you suggest to continue here? I mean it's totally not an okular bug but a "this document is crazy" bug, if it could be improved somewhere would be in poppler, so yes this should be closed and a poppler bug opened to see if it can be somehow solved by caching or similar. |