SUMMARY When the global UI scale is not 100%, the image returned by CaptureWorkspace is clipped off on the right and bottom sides since the image size isn't large enough to fit the whole workspace. STEPS TO REPRODUCE 1. In the Display Configuration KCM, set the global scale to 125%. 2. Reboot and log into a Plasma 6 X11 session. 3. Run `spectacle -if` to take a screenshot of the whole workspace. OBSERVED RESULT The image is smaller than it should be and doesn't actually contain the whole workspace. EXPECTED RESULT The image should have a size equal to the virtual desktop size multiplied by the highest screen scale in the virtual desktop. The image should also contain the whole workspace. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20231008 KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.5.3 Kernel Version: 6.5.6-1-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics Memory: 30.8 GiB of RAM Graphics Processor: AMD Radeon Graphics ADDITIONAL INFORMATION Related: https://bugs.kde.org/show_bug.cgi?id=474778
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4498
Suddenly, I can't reproduce this anymore, so I'll close this for now.