Created attachment 144867 [details] Two notifications are shown after each screen capture When I take a screenshot I see two notifications, see attached image for more info. Operating System: Manjaro Linux KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2 Kernel Version: 5.15.7-1-MANJARO (64-bit) Graphics Platform: X11
Related to bug 422874
How did you take the screenshot (keyboard shortcut, call from terminal)? What settings do you have set in Spectacle?
(In reply to Antonio Prcela from comment #2) > How did you take the screenshot (keyboard shortcut, call from terminal)? > What settings do you have set in Spectacle? With terminal and after trying all cases (region, full-screen, active window, window under cursor) it shows only one notification, but with shortcuts and in all cases it shows two notifications. Concerning spectacle settings see attached image.
Created attachment 144926 [details] Spectacle settings
Can confirm now. Seems that when both options for "after taking a screenshot" are set: "save file to default folder" - enabled and "copy image to clipboard" Will take a look into it. Have a feeling where this is :)
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/116
Git commit 08e82e2e0783c77b60b77aaa7018f517a52d1efd by Nate Graham, on behalf of Antonio Prcela. Committed on 11/01/2022 at 15:37. Pushed by ngraham into branch 'master'. Simplify branching for the notify text and fix messages containing dots Simplify the logic by removing the bool isBackgroundMode. Fix double notifications where one has dots instead of the filename and save path. Add missing notification text if mCopyLocationToClipboard is set. Uses 2in1 principle: Considering that when mCopyLocationToClipboard is true it means that the image also gets saved as a file, so this makes the notification text show both the path where it's saved & the name of it _and_ the information that the file path has been added to the clipboard. FIXED-IN: 22.04 M +7 -9 src/SpectacleCore.cpp https://invent.kde.org/graphics/spectacle/commit/08e82e2e0783c77b60b77aaa7018f517a52d1efd
(In reply to Antonio Prcela from comment #5) > Can confirm now. Seems that when both options for "after taking a > screenshot" are set: > "save file to default folder" - enabled > and > "copy image to clipboard" > > Will take a look into it. Have a feeling where this is :) two notifications bug is still reproducible on neon unstable.