| Summary: | Poor peformance when opening PDF with lots of forms | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Nicolas Fella <nicolas.fella> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
The PDF
Hotspot Flamegraph |
||
|
Description
Nicolas Fella
2022-04-08 14:49:13 UTC
Created attachment 148047 [details]
The PDF
Created attachment 148048 [details]
Hotspot Flamegraph
Commenting https://invent.kde.org/graphics/okular/-/blob/master/gui/pagepainter.cpp#L109 out makes it run smooth page->_o_nearestPixmap always returns a pixmap with DPR 1, but a dpr of 2 is needed for me, hence the detach in setDevicePixelRatio That also means the issue is only triggered on high-dpi screens A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/612 |