Bug 488234 - [wayland] Single-Window Recordings Have Incorrect Resolution on Scaled Displays
Summary: [wayland] Single-Window Recordings Have Incorrect Resolution on Scaled Displays
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-09 00:15 UTC by Eamonn Rea
Modified: 2024-08-04 07:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eamonn Rea 2024-06-09 00:15:05 UTC
SUMMARY
Single-Window Recordings in Spectacle have an incorrect resolution. On a 3840x2160 display @ 150% scaling, a recording of a maximised window will have a resolution of roughly 2560x1440. The width will be 2560, but the height will be slightly less, probably because of the height of the panel offsetting this.

This does not affect single-window recordings on non-scaled displays, only on scaled displays.

The Spectacle compression means this isn't a huge issue, but it is probably not ideal behaviour.

STEPS TO REPRODUCE
1. Maximise a window on a scaled display
2. Take a single-window recording
3. The resolution will be close to the scaled resolution of that display (3840 -> 2560, 2160 -> 1440).

OBSERVED RESULT
Single-window recordings are at the scaled resolution of the display and not the unscaled resolution.

EXPECTED RESULT
Single-window recordings should represent the true resolution of the window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.3 Linux Zen
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
See also: Bug 488233