Bug 428667

Summary: Spectacle does not save and copy to clipboard at the same time when running in the background
Product: [Applications] Spectacle Reporter: Yoav Navott <yoavnavott>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: justin.zobel, kde, yoavnavott
Priority: NOR    
Version: 20.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yoav Navott 2020-11-03 22:52:42 UTC
SUMMARY
When configuring spectacle to both automatically save and copy the screenshot to the clipboard, the screenshot is not saved unless the spectacle window is open, otherwise only copying the screentshot to the clipboard.


STEPS TO REPRODUCE
1. Launch spectacle
2. Click "Configure"
3. Under General, tick both "Copy image to clipboard" and "Autosave the image to the default location"
4. Close spectacle window
5. Click keyboard shortcut for screenshot i.e "Capture entire desktop" 
6. Check default screenshot folder and see that it was not saved, but it is possible to paste it from the clipboard.

OBSERVED RESULT
Instead of saving and copying to the clipboard at the same time, the screenshot is only copied to the clipboard. When the spectacle window is launched again the screenshot is saved.

EXPECTED RESULT
Spectacle should copy the image to the clipboard and save it at the same time while running in the background.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2020-11-04 01:48:51 UTC

*** This bug has been marked as a duplicate of bug 428543 ***