Bug 454285

Summary: A new entry is unexpectedly created in clipboard history after deleting a screenshot taken via keyboard shortcut and saved to desktop
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2022-05-23 16:35:50 UTC
Created attachment 149141 [details]
screen recording

STEPS TO REPRODUCE
1. make sure 'Save file to default folder' is checked and 'Copy image to clipboard' option is selected in Spectacle settings
2. if Spectacle is open, close it
3. take a screenshot by pressing shift+printscreen - Clipboard applet lists the screenshot copied to clipboard as expected
4. delete the screenshot by pressing shift+del and confirming deletion

OBSERVED RESULT
a new entry unexpectedly appears in clipboard history. Please watch the attached screen recording.

EXPECTED RESULT
observed result should not occur

SOFTWARE/OS VERSIONS
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
Comment 1 Patrick Silva 2022-10-31 14:33:57 UTC
This bug only occurs if Spectacle is configured to save the screenshots to desktop.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Comment 2 Patrick Silva 2023-11-19 15:02:19 UTC
Cannot reproduce.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland