Bug 432928

Summary: When from terminal we type spectacle -c -b -f the screenshot doesn't get copied to the clipboard
Product: [Applications] Spectacle Reporter: Sourabh Singh <sb.786.rocks>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jpmbatrina01, kde, sb.786.rocks
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sourabh Singh 2021-02-14 10:59:06 UTC
SUMMARY


STEPS TO REPRODUCE
1. In terminal type spectacle -c -f 
2. 
3. 

OBSERVED RESULT
Screenshot doesn't get copied to the clipboard.

EXPECTED RESULT
Screenshot should get copied to the clipboard

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.20
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This does work when spectacle is open in the background. I've bind it to a shortcut and the copy to clipboard doesn't work but the screenshot gets saved.

The workaround is to keep spectacle running.
Comment 1 Sourabh Singh 2021-02-14 11:07:44 UTC
(In reply to Sourabh Singh from comment #0)
> SUMMARY
> 
> 
> STEPS TO REPRODUCE
> 1. In terminal type spectacle -c -f -b
> 2. 
> 3. 
> 
> OBSERVED RESULT
> Screenshot doesn't get copied to the clipboard.
> 
> EXPECTED RESULT
> Screenshot should get copied to the clipboard
> 
> SOFTWARE/OS VERSIONS
> Windows: 
> macOS: 
> Linux/KDE Plasma: KDE neon 5.20
> (available in About System)
> KDE Plasma Version: 5.20.5
> KDE Frameworks Version: 5.78.0
> Qt Version: 5.15.2
> 
> ADDITIONAL INFORMATION
> This does work when spectacle is open in the background. I've bind it to a
> shortcut and the copy to clipboard doesn't work but the screenshot gets
> saved.
> 
> The workaround is to keep spectacle running.
Comment 2 Sourabh Singh 2021-02-14 11:09:43 UTC
Sorry I'm New to reporting.

The command is spectacle -b -c -f actually.

Thank You !
Comment 3 Jan Paul Batrina 2021-08-23 12:33:31 UTC
Works for me in Spectacle 21.08. The fix is possibly related to https://bugs.kde.org/show_bug.cgi?id=411263.

Feel free to reopen if you still encounter the problem!