STEPS TO REPRODUCE 1. use Wayland session 2. open any window 3. hover over the window 4. try to take a screenshot of the window under cursor by pressing meta+ctrl+print shortcut OBSERVED RESULT apparently nothing happens. If I open System Activity by pressing ctrl+esc, I see Spectacle process stuck in the memory. EXPECTED RESULT Spectacle should take a screenshot of the window under cursor when we press meta+ctrl+print SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 Graphics Platform: Wayland
Can confirm!
Can reproduce on Plasma 5.24 beta even by pressing shift+print. Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Graphics Platform: Wayland
This bug also affects X11 I think there is a missing -1 at the end of: https://invent.kde.org/graphics/spectacle/-/blob/master/desktop/org.kde.spectacle.desktop.cmake#L405
Submitted merge request: https://invent.kde.org/graphics/spectacle/-/merge_requests/137
Git commit e28ba9c1199cc9b2524903000ebcbe83fe61f267 by Nicolas Fella, on behalf of Paul Worrall. Committed on 30/05/2022 at 19:33. Pushed by nicolasfella into branch 'master'. Update org.kde.spectacle.desktop.cmake to include both required parameters for WindowUnderCursor M +1 -1 desktop/org.kde.spectacle.desktop.cmake https://invent.kde.org/graphics/spectacle/commit/e28ba9c1199cc9b2524903000ebcbe83fe61f267
Git commit 8beca3b9fdc1beffc7172155f3ae3a239ec9993d by Nicolas Fella, on behalf of Paul Worrall. Committed on 30/05/2022 at 19:33. Pushed by nicolasfella into branch 'release/22.04'. Update org.kde.spectacle.desktop.cmake to include both required parameters for WindowUnderCursor (cherry picked from commit e28ba9c1199cc9b2524903000ebcbe83fe61f267) M +1 -1 desktop/org.kde.spectacle.desktop.cmake https://invent.kde.org/graphics/spectacle/commit/8beca3b9fdc1beffc7172155f3ae3a239ec9993d