Bug 511712

Summary: Screenshot of rectangular region not matching selection
Product: [Applications] Spectacle Reporter: Moritz Carmesin <moritz.carmesin>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: REPORTED ---    
Severity: major CC: kde
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Moritz Carmesin 2025-11-06 13:04:23 UTC
SUMMARY

The rectangular region tool captures a region of the screen that does not match the selected area. 


STEPS TO REPRODUCE
1.  setup 2 displays 
2.  deactivate the left display
3.  use spectacle to capture a rectangular region on the remaining (right) screen

OBSERVED RESULT

the actually captured region is taken from an area shifted to the right (probably by the width of the left, deactivated display)  w.r.t. the selected region.


EXPECTED RESULT

the captured image should correspond to the selected area


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.5.1 (PPA), the bug also appear in the original Kubuntu 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-6-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7530U with Radeon Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
The left deactivated screen is 1920x1080, the right on is 3840x2160 with 135% scaling