Created attachment 161072 [details] Screen recording showing the bug SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Enable the "Fall Apart" Desktop Effect in Plasma Settings 2. Launch spectacle (through application launcher or print screen shortcut) 3. Press Rectangular Region OBSERVED RESULT The window shattering animation completes before the region select shows But the spectacle window shattered from the animation is still included in the region select Proceeding to select a region with part of the spectacle window will capture the spectacle window EXPECTED RESULT Region select shows everything without the spectacle window in the way SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Reproduced in Wayland
To clarify, I meant I had originally found and reported the bug only testing Wayland. But now I have tested on X11 and have confirmed it occurs there too for me.
Fascinating; an issue with the timings of the animation, I guess.
As a quick solution, maybe we can blacklist Spectacle from the fall apart effect in KWin? I think for a future proof solution, we're going to need some way for apps to request that they be excluded from compositor effects when doing certain things.
Git commit ea75c094a90f60eafaa34b6ae885aa93871036a1 by Vlad Zahorodnii, on behalf of Noah Davis. Committed on 06/11/2023 at 11:01. Pushed by vladz into branch 'master'. plugins/fallapart: Blacklist spectacle Spectacle needs to be blacklisted in order to stay out of its own screenshots. M +9 -0 src/plugins/fallapart/fallapart.cpp https://invent.kde.org/plasma/kwin/-/commit/ea75c094a90f60eafaa34b6ae885aa93871036a1
*** Bug 482097 has been marked as a duplicate of this bug. ***