Bug 512874

Summary: Spectacle reports wrong resolution when 125% scaling is enabled
Product: [Applications] Spectacle Reporter: Egor Tkachev <grekerplayyt>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: kde
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Egor Tkachev 2025-12-02 16:48:54 UTC
SUMMARY
I have two displays: 2560x1440@180hz with 125% scaling and 1280x1024@60hz with 100% scaling. When i do rectangular selection with spectacle it reports resolution much higher than selected area is. For example if i select ~1/4 of 2k display it reports ~2000x1300 resolution, when i select whole screen it reports ~4000x2300. Screenshot that saved or pasted into some program has normal resolution, so i think the bug is purely visual. When i switch to 100% scaling, spectacle reports correct resolution.

STEPS TO REPRODUCE
1. Set display scaling to 125%
2. Select rectangular area with spectacle
3. Check the resolution that it reports

OBSERVED RESULT
Reported resolution is wrong 

EXPECTED RESULT
Reported resolution is correct

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10700K CPU @ 3.80GHz
Memory: 32 ГиБ of RAM (27.4 ГиБ usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z490 UD
Comment 1 Noah Davis 2026-02-05 09:17:40 UTC
Fixed when bug 488034 was fixed, although selections that span two screens with different scales will have images that are scaled up to the next integer scale for various reasons.

*** This bug has been marked as a duplicate of bug 488034 ***