Bug 447166

Summary: On Wayland Spectacle sometimes stays running in the background after being quit, and then fails to automatically save a screenshot the next time its window is shown
Product: [Applications] Spectacle Reporter: paninomaninodesu
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, noahadvs
Priority: NOR    
Version First Reported In: 21.12.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description paninomaninodesu 2021-12-18 13:04:19 UTC
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. On settings, "after capturing an image", check the box to "save file to default folder"
2. Press print screen button on keyboard
3. Press print screen button on keyboard again

OBSERVED RESULT
Spectacle gives a message that it was unable to save the screenshot.

EXPECTED RESULT
Before when using X11 every time I pressed the keyboard button or any other command to save a screenshot it would just work and screenshots would be saved in succession. On Wayland don't, Spectacle can't automatically save a screenshot when it's already open. And if I insist to test more how this bug happens, for example, to make this bug report, as always the system starts to get crazy! Options on Spectacle are being selected on super fast fashion making me unable to control, this page on the browser keeps dancing up and down a bit, if I click on the scrollbar of this text box it gets stuck, I need to click outside this text box and scroll with the keyboard arrows.
Probably just another Wayland bug.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Current Neon Stable
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Wayland is like Brazil.
It's the future, but definitively it's not now!
Comment 1 Nate Graham 2022-01-11 21:16:10 UTC
Can confirm. Seems like the bug here is Spectacle not quitting properly, and staying open in the background when it shouldn't.
Comment 2 Noah Davis 2023-11-22 12:19:45 UTC
This bug seems to be fixed.