Bug 434766

Summary: "Copy image to clipboard" feature does not always work
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: normal CC: antonio.prcela, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2021-03-22 12:29:24 UTC
STEPS TO REPRODUCE
1. meke sure "Copy image to clipboard" option is checked in Spectacle settings
2. clear Clipboard applet in system tray
3. open Spectacle by pressing printscreen key: Spectacle displays an inline message saying "The screenshot has been copied to the clipboard." and Clipboard applet lists the copied screenshot as expected.
4. select another option in "Area" combobox (I changed from Full Screen to Active Window mode)
5. click on "Take a new screenshot" button: Spectacle displays an inline message saying "The screenshot has been copied to the clipboard." again but Clipboard applet is empty this time.

EXPECTED RESULT
"Copy image to clipboard" feature should always work

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Antonio Prcela 2021-03-23 20:20:06 UTC
Can not reproduce, works fine here
Tho I'm on the latest git build.. 21.07.70
Comment 2 Patrick Silva 2022-05-23 16:18:12 UTC
Cannot reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Graphics Platform: Wayland