https://bugs.kde.org/show_bug.cgi?id=488204

            Bug ID: 488204
           Summary: Klipper messages are saved in the Notification History
                    since Plasma 6.0
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: regression, reproducible, usability
          Severity: normal
          Priority: NOR
         Component: Clipboard
          Assignee: plasma-b...@kde.org
          Reporter: xalt7x.serv...@gmail.com
  Target Milestone: 1.0

Created attachment 170267
  --> https://bugs.kde.org/attachment.cgi?id=170267&action=edit
Screencast demonstrating the issue (Plasma 5.27 vs Plasma 6.0)

SUMMARY
Plasmashell native clipboard manager sometimes generates messages (e.g., when
user cycles through history items using hotkeys).

On Plasma 5.27 they were not saved on Notification History (presumably thanks
to commit 120aed57 ("Keep Klipper notifications out of notification history") -
https://invent.kde.org/plasma/plasma-workspace/-/commit/120aed57ced1530d85e4d522cfb3697fbce605fc).
However, on Plasma 6.0 and 6.1 Beta Notification tray item (or a separate
widget) notifies user of new unread messages whenever the notification for the
current history item expires.

This regression may be related to Plasma 6 cleanup (e.g., commits a5e40fe5 and
8fa3fbf2).

STEPS TO REPRODUCE (screencast attached as well)
1. Right click on clipboard system tray item and select "Configure
Clipboard..."
2. On "Shortcuts" section set some shortcuts for "Previous History Item" (e.g.,
Meta+Shift+z)
3. Copy few times different text so it will be saved as Clipboard Manager item
4. Press the "Previous History Item" shortcut 
5. Wait ~5 seconds until Clipboard Notification expires

OBSERVED RESULT
Notification tray item informs that there's a new item in the Notification
History 

EXPECTED RESULT
Clipboard Manager notification is not saved to Notification History.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I didn't figured out how to set make configuration specifically for Klipper so
for now as a workaround I've set "urgency level" for plasmashell
"Notifications"  to "Low" (notification with the "Low" urgency are not saved to
Notification History by default)

~/.config/plasmanotifyrc
[Event/notification]
Action=Popup
Urgency=Low

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to