Bug 449030

Summary: Spectacle saves screenshot copy when exporting despite autosave being disabled
Product: [Applications] Spectacle Reporter: Piotr Kubowicz <derbeth>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nicolas.fella
Priority: NOR    
Version First Reported In: 21.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Spectacle at the moment of reproducing the bug

Description Piotr Kubowicz 2022-01-23 19:30:18 UTC
Created attachment 145815 [details]
Spectacle at the moment of reproducing the bug

STEPS TO REPRODUCE
1. Open Spectacle configuration, go to General, disable 'After tasking screenshot: Autosave file to default folder', confirm
2. Press PrtSc or other screenshot hot key
3. When Spectacle appears, choose Export > GNU Image Manipulation Program

OBSERVED RESULT
A Spectacle message says 'The screenshot was saved as ScreenshotXYZ.png', the file appears in ~/Pictures.

EXPECTED RESULT
No files are created.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-01-23 23:08:12 UTC
well, a file has to be created _somewhere_ to be able to open it in another app.

See https://bugs.kde.org/show_bug.cgi?id=448232 for why it is saved where it is

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