Bug 433221

Summary: Duplicate notifications after capturing rectangular region
Product: [Applications] Spectacle Reporter: Dan Dascalescu <ddascalescu+kde>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, kde, nate
Priority: NOR    
Version: 20.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 21.12
Sentry Crash Report:
Attachments: Screencast

Description Dan Dascalescu 2021-02-19 05:00:24 UTC
Created attachment 135886 [details]
Screencast

Please see the attached screencast. I've changed the shortcut for Capture Rectangular Region to Shift+Print, then pressed that combo, then Enter to copy the screenshot to clipboard. Two notifications were shown, one with the image, one without.

Everything took place on the external monitor connected to my laptop.
Comment 1 Patrick Silva 2021-06-03 13:49:49 UTC
I use just 1 screen and I can confirm this behavior when "Copy to clipboard"
is enabled in Spectacle settings.

Spectacle 21.04.1 on Arch Linux.
Comment 2 Bug Janitor Service 2021-11-01 17:53:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/93
Comment 3 Nate Graham 2021-11-03 16:41:26 UTC
Git commit 9187981fac336ca1b828edcefd908aa2e45a47dc by Nate Graham, on behalf of Antonio Prcela.
Committed on 03/11/2021 at 16:38.
Pushed by ngraham into branch 'master'.

Do not duplicate text when using -c

M  +5    -2    src/SpectacleCore.cpp

https://invent.kde.org/graphics/spectacle/commit/9187981fac336ca1b828edcefd908aa2e45a47dc