Bug 508942

Summary: When a large area of pdf is selected to save as image, only the sections that were painted on the screen gets saved as image.
Product: [Applications] okular Reporter: Roopesh <roopeshor3>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: steps in producing bug as well as the result

Description Roopesh 2025-08-30 16:48:59 UTC
SUMMARY
Im trying to save a image from a pdf at high resolution. So i zoomed in and captured rectangular area that covers the whole image. However only parts of it gets saved in the image:.

STEPS TO REPRODUCE
1. Open a pdf
2. Zoom in a lot (around 1000%)
3. select area of interest

OBSERVED RESULT
Image consisting of empty areas. (please see the attached screen recording)

EXPECTED RESULT
Whole region that the rectangle covers must be present in the final image

SOFTWARE/OS VERSIONS
Okular: 25.04.2
KDE Frameworks: 6.13.0
Qt: Using 6.8.2 and built against 6.8.2
Debian GNU/Linux forky/sid (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.38+deb13-amd64
Comment 1 Roopesh 2025-08-30 16:54:20 UTC
Created attachment 184589 [details]
steps in producing bug as well as the result