Bug 448699

Summary: Don't copy in background screenshots
Product: [Applications] Spectacle Reporter: thegt1k82u
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: minor CC: antonio.prcela, kde
Priority: NOR    
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description thegt1k82u 2022-01-18 10:55:24 UTC
SUMMARY
Spectacle can't save screenshot in background (without GUI).


STEPS TO REPRODUCE
1. (shell) spectacle -c -b 

OBSERVED RESULT
1. (with check at Spectacle > Configure > General > After taking screenshot: v Save file to default folder) Notification with "Screenshot captured. Saved as...".
2. No additions to clipboard.

EXPECTED RESULT
Screenshot in clipboard

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux (Arch)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Graphics Platform: Wayland


ADDITIONAL INFORMATION

"
# spectacle -h

  -c, --copy-image           In background mode, copy screenshot image to
                             clipboard
  -C, --copy-path            In background mode, copy screenshot file path to
                             clipboard
"
Passing them without '-b' don't actually makes it background.
Seems like -c/C ignored at all.