SUMMARY Some KWin window present/disappear 3d effects will cause Spectacle to fail to hide its window for "Rectangular Region" screenshots. You can see this in the attached screenshot made with Spectacle's "Rectangular Region" button, where the Spectacle window remains shown even though it shouldn't be visible. There seems to be a timing issue, where Spectacle assumes the screenshot is already taken before it shows itself again, but instead it seems to be reappearing after a brief disappearance too early, managing to capture itself unintentionally in the ensuing screenshot. STEPS TO REPRODUCE 1. Go to KDE systemsettings and open up "Desktop Effects", and enable effect "Glitch [Burn-My-Windows]" 2. In the systemsettings "General Behavior" section, set "Animation Speed" to what's shown in the attached settings screenshot 3. Then press the print key to trigger spectacle, and once it comes up, press "Rectangular Region". You should now see a capture of your screen, but Spectacle is visible on it. OBSERVED RESULT Spectacle captures itself when it shouldn't. EXPECTED RESULT Spectacle isn't seen on the "Rectangular Screenshot". SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: postmarketOS v24.12 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION
Created attachment 181949 [details] Screenshot of "General Behavior" section in KDE systemsettings with the animation speed setting
Created attachment 181950 [details] Screenshot of "Spectacle" showing itself in the "Rectangular Region" capture when it shouldn't
While trying to test this, I found that 3rd-party window effects are completely broken in the 6.4 beta right now, oops: Bug 505242. We'll get that fixed and then re-test this.
Ok, that's fixed now; testing this.
Cannot reproduce with Plasma 6.4; as I was hoping, the changes to how Rectangular Region works in that release have fixed this already.
Awesome! :-)