Bug 425641

Summary: Output option in background mode does not save the screenshot as file
Product: [Applications] Spectacle Reporter: duchuy29092000
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, magunasu.b97
Priority: NOR    
Version: 20.08.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot is not saved

Description duchuy29092000 2020-08-21 13:55:07 UTC
Created attachment 131076 [details]
Screenshot is not saved

SUMMARY
When I take a screenshot from command line, the image is not saved

STEPS TO REPRODUCE
1. Run command `spectacle -b -n -o test.png`
2. Check the current directory

EXPECTED RESULT
See a screenshot at the working directory.

OBSERVED RESULT
There is no such screenshot or even file with the name.  Instead, the screenshot is saved to the clipboard.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20200819
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

The GUI mode doesn't suffer this problem.  I still can explicitly save it in GUI mode, which I used to capture the attachment.
Comment 1 Magnus Boman 2020-08-31 13:39:43 UTC
This appears to be a duplicate of https://bugs.kde.org/show_bug.cgi?id=424380 which is fixed in git master, but has not made it into any release.
Comment 2 duchuy29092000 2020-09-07 08:44:35 UTC
Yes, it was a duplicate, except the image wasn't saved to ~/Pictures/, maybe because there was no such folder at the first place on my computer. I wasn't able to find that issue before.
Comment 3 duchuy29092000 2020-09-07 08:45:21 UTC

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