Bug 492525 - Clipboard history notifications show up in notifications history
Summary: Clipboard history notifications show up in notifications history
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: 6.1.4
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-02 06:50 UTC by Peter Fajdiga
Modified: 2024-10-09 07:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2
Sentry Crash Report:


Attachments
Clipboard notification displayed in the notifications history (66.51 KB, image/png)
2024-09-02 06:50 UTC, Peter Fajdiga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fajdiga 2024-09-02 06:50:24 UTC
Created attachment 173224 [details]
Clipboard notification displayed in the notifications history

SUMMARY
When using Clipboards's "Next History Item" and "Previous History Item" shortcuts, a pop-up notification appears to provide feedback to the user. However this notification also appears in notifications history, which serves no purpose and only clutters the list.

STEPS TO REPRODUCE
1. Setup a keyboard shortcut for plasmashell's "Next History Item"
2. Copy some text
3. Press the keyboard shortcut from step 1
4. A pop-up notification appears. Wait for it to automatically disappear.
5. A bell icon appears in the status bar, click on it and observe the notifications history

OBSERVED RESULT
The notifications history contains the clipboard notifications.

EXPECTED RESULT
The notifications history should not contain the clipboard notifications.

SOFTWARE/OS VERSIONS
Linux: 6.8.0-41-generic (Kubuntu 24.10)
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This bug doesn't happen in Plasma 5.27.11.
Comment 1 Justin Zobel 2024-09-02 07:09:14 UTC
Confirmed on Plasma from git master, confirmed behaviour did not exist in Plasma 5 on Steam Deck.
Comment 2 Bug Janitor Service 2024-09-04 13:33:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4683
Comment 3 David Redondo 2024-09-18 13:31:11 UTC
Git commit 469ed64c134a8b502026eaaa403003aadc55c895 by David Redondo.
Committed on 18/09/2024 at 13:31.
Pushed by davidre into branch 'master'.

Bring back klipper desktop file

This is needed for mapping of notification to klipper specific settings.
This partly reverts commit 8fa3fbf2b3b7b0b39980f14a3487409b30ae1c7c.
The file is adusted to it is hidden and references to running klipper removed.
FIXED-IN:6.2

M  +2    -0    klipper/CMakeLists.txt
A  +270  -0    klipper/org.kde.klipper.desktop [TRAILING SPACE] ** [TRAILING SPACE] ** [TRAILING SPACE] **

The files marked with ** at the end have a problem. Either the file contains a trailing space or the file contains a call to potentially dangerous code. Please read: https://community.kde.org/Sysadmin/CommitHooks#Email_notifications for further information. Please either fix the trailing space or review the dangerous code.


https://invent.kde.org/plasma/plasma-workspace/-/commit/469ed64c134a8b502026eaaa403003aadc55c895
Comment 4 David Redondo 2024-10-09 07:45:21 UTC
Git commit 4cbe32a1334eff078a3ea78f043859b11a37315d by David Redondo.
Committed on 09/10/2024 at 07:27.
Pushed by davidre into branch 'Plasma/6.2'.

Bring back klipper desktop file

This is needed for mapping of notification to klipper specific settings.
This partly reverts commit 8fa3fbf2b3b7b0b39980f14a3487409b30ae1c7c.
The file is adusted to it is hidden and references to running klipper removed.
FIXED-IN:6.2


(cherry picked from commit 469ed64c134a8b502026eaaa403003aadc55c895)

bf7bb3af Bring back klipper desktop file

Co-authored-by: David Redondo <kde@david-redondo.de>

M  +2    -0    klipper/CMakeLists.txt
A  +270  -0    klipper/org.kde.klipper.desktop [TRAILING SPACE] ** [TRAILING SPACE] ** [TRAILING SPACE] **

The files marked with ** at the end have a problem. Either the file contains a trailing space or the file contains a call to potentially dangerous code. Please read: https://community.kde.org/Sysadmin/CommitHooks#Email_notifications for further information. Please either fix the trailing space or review the dangerous code.


https://invent.kde.org/plasma/plasma-workspace/-/commit/4cbe32a1334eff078a3ea78f043859b11a37315d