It would be nice to have a shortcut to clear the notification history of plasma. A typical workflow for me is: 1) have a quick look in the history if anything important is there, i.e., something I need to take care of. 2) clear history afterwards The first point is possible using the keyboard, the second not.
Hi all, Can I try this as a junior job/first contribution?
Sure, go ahead.
Of course, no need to even ask! :) Let us know if you need help with anything.
Created attachment 121160 [details] build.log Any idea what I could do to fix this? I have libXcursor-devel installed. (Building on latest Tumbleweed)
And do I actually need to build plasma-desktop or is plasma-workspace enough?
If you're targeting/building from git master, you want to do everything Plasma-related (see https://community.kde.org/Get_Involved/development#Plasma). If you want to make your patch against the Plasma/5.16 branch, then you can do just plasma-workspace.
So, I tried adding this functionality but I am stuck as to where to have the key combination defined and changed. I couldn't find a QML/Kirigami plasmoid that defines shortcuts for itself as an example. For example the clipboard applet calls the Klipper settings. That UI is done fully in C++ and uses KShortcutsEditor. Should I try to add a panel to the notifications kcm? Is it even possible to put a KShortcutsEditor widget there even though it's a qml ui?
I could do this bug. I'd have to add standard Shortcut and a action for desktop. I only have to understand what to invoke for to clear notifications history. I image that it is the same code that invoked when we click on X button of the widget on the plasma panel.
Created attachment 131557 [details] attachment-11322-0.html Feel free to as I couldn't make it work. ________________________________ From: kdedom <bugzilla_noreply@kde.org> Sent: Friday, September 11, 2020 11:43 AM To: Antonios Pappas <apappas@suse.com> Subject: [plasmashell] [Bug 408995] provide a shortcut for plasma notification history cleaning https://bugs.kde.org/show_bug.cgi?id=408995 kdedom <pandom79@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pandom79@gmail.com --- Comment #8 from kdedom <pandom79@gmail.com> --- I could do this bug. I'd have to add standard Shortcut and a action for desktop. I only have to understand what to invoke for to clear notifications history. I image that it is the same code that invoked when we click on X button of the widget on the plasma panel. -- You are receiving this mail because: You are on the CC list for the bug.
I created two merge requests. The first about Kconfig project that provide a keyboard shortcut that i set to F9. The second about plasma desktop project that it run when we press F9 key. I only need help to understand which api to invoke in the plasma slot for to clean notifications history. https://invent.kde.org/frameworks/kconfig/-/merge_requests/25 https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/148
(In reply to kdedom from comment #10) > I created two merge requests. > The first about Kconfig project that provide a keyboard shortcut that i set > to F9. > The second about plasma desktop project that it run when we press F9 key. > I only need help to understand which api to invoke in the plasma slot for to > clean notifications history. > https://invent.kde.org/frameworks/kconfig/-/merge_requests/25 > https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/148 https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/260
*** Bug 429711 has been marked as a duplicate of this bug. ***
This is still open for anyone to do as a junior job.