SUMMARY Currently, clicking on the notification tray icon has no effect when there're no notications. This is inconsistent with other tray icons, e.g., network, bluetooth, clipboard, disks, those all click to open even with no items to show. Moreover, the capslock and touchpad icons, when clicked, show an almost-empty appet. So, almost all tray icons open applets on click, with notification seems to be the only exception. STEPS TO REPRODUCE 1. Clear all notifications. 2. Click on the notification tray icon. OBSERVED RESULT Nothing happens. EXPECTED RESULT An empty applet opens. SOFTWARE/OS VERSIONS Linux/KDE Plasma: archlinux KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
Note: just found that, the notification icon does always expand on click, when set to "always visible". But it won't expand when set to "when relavent" or "always hidden".
Sorry, seems this is not by design, but a bug triggered by chance, when copying large (several GBs) video files between usb drives. I've not found a reliable way to reproduce it. When the bug happens, setting the notification icon to "disabled" then back to "when relevant" fixes it. The system journal has the following messages, but unsure if relevant: 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5616eed442c0) QQmlContext(0x5616ea427030) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml") 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x5616eed442c0) QQmlContext(0x5616ea427030) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml") 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:219:21: QML SelectableLabel: Binding loop detected for property "implicitWidth" 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:219:21: QML SelectableLabel: Binding loop detected for property "implicitWidth" 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:219:21: QML SelectableLabel: Binding loop detected for property "implicitHeight" 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/lib/qt/qml/org/kde/plasma/components.3/ScrollView.qml:37:27: QML ScrollBar: Binding loop detected for property "visible" 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:38:5: QML TextArea: Binding loop detected for property "implicitHeight" 4月 23 16:04:29 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/JobItem.qml:245:9: QML Button: Binding loop detected for property "width" 4月 23 16:04:37 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:219:21: QML SelectableLabel: Binding loop detected for property "implicitWidth" 4月 23 16:04:37 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/JobItem.qml:245:9: QML Button: Binding loop detected for property "width" 4月 23 16:04:39 laptop-jin-mi plasmashell[1505]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/JobItem.qml:41: TypeError: Cannot read property 'destUrl' of null
I could have sworn we already had a bug report tracking this, but I can't find it... Regardless, marking as CONFIRMED since I know others have recently reported the same issue and been able to reproduce it.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1761
*** Bug 454242 has been marked as a duplicate of this bug. ***
Git commit f045cf306c4e581c38ead972ae9e0242e6fca2cd by Nate Graham, on behalf of Kai Uwe Broulik. Committed on 24/05/2022 at 16:08. Pushed by ngraham into branch 'master'. [System Tray] Emit pressed signal on compact representation in popup, too Some actions, such as middle click to mute, trigger only on press. Some applets also need a pressed-click because of some legacy autoclose on focus change bug. Unfortunately, QML does not disambiguate the "pressed" property and "pressed(mouse)" signal with argument, so this has to be done awkwardly through QMetaObject on C++ side. Related: bug 426646 FIXED-IN: 5.25.0 M +8 -1 applets/systemtray/package/contents/ui/items/PlasmoidItem.qml M +25 -0 applets/systemtray/systemtray.cpp M +8 -0 applets/systemtray/systemtray.h https://invent.kde.org/plasma/plasma-workspace/commit/f045cf306c4e581c38ead972ae9e0242e6fca2cd
Git commit 7139ebfb3dd8ea078b07378c7964af2cbfb38f15 by Kai Uwe Broulik. Committed on 24/05/2022 at 19:28. Pushed by broulik into branch 'Plasma/5.25'. [System Tray] Emit pressed signal on compact representation in popup, too Some actions, such as middle click to mute, trigger only on press. Some applets also need a pressed-click because of some legacy autoclose on focus change bug. Unfortunately, QML does not disambiguate the "pressed" property and "pressed(mouse)" signal with argument, so this has to be done awkwardly through QMetaObject on C++ side. Related: bug 426646 FIXED-IN: 5.25.0 (cherry picked from commit f045cf306c4e581c38ead972ae9e0242e6fca2cd) M +8 -1 applets/systemtray/package/contents/ui/items/PlasmoidItem.qml M +25 -0 applets/systemtray/systemtray.cpp M +8 -0 applets/systemtray/systemtray.h https://invent.kde.org/plasma/plasma-workspace/commit/7139ebfb3dd8ea078b07378c7964af2cbfb38f15