Bug 436153

Summary: Spectacle window re-open itself on startup if you have captured a screenshot in the previous session.
Product: [Applications] Spectacle Reporter: contact
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 19.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description contact 2021-04-25 07:56:28 UTC
SUMMARY:
Spectacle re-open itself on startup if you have made a screenshot in the previous session.
It will open 1 window for every screenshot you took.

STEPS TO REPRODUCE
1. Start spectacle in background mode.
   $> spectacle --current --background --clipboard
2. Reboot your computer, note that just logging out will not work.
3. Log in again.

OBSERVED RESULT:
The spectacle window opened itself and took a screenshot of the login window.

EXPECTED RESULT:
Spectacle should not run automatically after reboot.

SOFTWARE/OS VERSIONS:
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-04-27 17:56:42 UTC
This is caused by Spectacle secretly remaining open in the background, which is a bug we fixed over a year ago. However you're using an old version of Spectacle. I would recommend upgrading to Kubuntu 21.04 to have newer versions of KDE software.