https://bugs.kde.org/show_bug.cgi?id=492223
Bug ID: 492223 Summary: Spectacle screenshots of maximised windows include extra padding when the "Include window shadow" option is enabled Classification: Applications Product: Spectacle Version: 24.08.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: noaha...@gmail.com Reporter: eamonn...@protonmail.com CC: k...@david-redondo.de Target Milestone: --- SUMMARY Since Spectacle 24.08, when taking a screenshot of maximised windows, Spectacle still tries to include the window shadow. As there is no shadow for maximised windows, this creates a border around maximised window screenshots where a shadow would be were the window not maximised, resulting in a larger filesize; with my shadow configuration, windows maximised on a 3840x2160 display now have screenshots with a width of 3900, adding roughly 30 pixels extra on each side. Disabling the "Include window shadow" option fixes this issue. This negatively impacts taking screenshots of, for example, game windows, in particular when Spectacle is used to silently take screenshots without the UI. This happens with any action that can take a screenshot of a single window, which to my understanding are the "Active Window" and "Window Under Cursor" options. This was not present in the previous version of Spectacle I used before updating to the new version today with KDE Gear 24.08. I believe the previous version was 24.05.2. STEPS TO REPRODUCE 1. Maximise a window 2. In Spectacle, ensure the "Include window shadow" option is enabled. 3. Take a screenshot of just this window, using either "Active Window" or "Window Under Cursor" 4. The resulting screenshot has extra padding where the window shadow would be. 5. Disable the "Include window shadow" option. 6. Take a screenshot of a maximised window again, using either "Active Window" or "Window Under Cursor" 7. The resulting screenshot does not have the extra padding like the first screenshot. OBSERVED RESULT Screenshots of maximised windows include extra padding where the window shadow would be, when the "Include window shadow" option is enabled. EXPECTED RESULT Screenshots of maximised windows should not include this padding as there are no shadows to capture. This was the behaviour of Spectacle up until 24.08.0, so hopefully it is possible. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.6-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon RX 7900 XTX ADDITIONAL INFORMATION I am almost certain this is a regression from 24.05.2, as screenshots that I took yesterday have the correct dimensions, but I am not 100% certain that the previous version I was using was 24.05.2. I am using an up-to-date Arch system, so whatever the last Spectacle release included in stable KDE Gear is the version I was using :-) -- You are receiving this mail because: You are watching all bug changes.