https://bugs.kde.org/show_bug.cgi?id=465488
Bug ID: 465488 Summary: No app name in the Battery and Brightness inhibition notification Classification: Plasma Product: kdeplasma-addons Version: 5.26.5 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: plasma-b...@kde.org Reporter: m...@cimba.li Target Milestone: --- Created attachment 156083 --> https://bugs.kde.org/attachment.cgi?id=156083&action=edit Screenshot of incorrect display SUMMARY When the Screensaver is inhibited without app name, no fall back is provided by the batterymonitor applet. STEPS TO REPRODUCE 1. Call `org.freedesktop.impl.portal.Inhibit` on the DBus with an empty string for name Note that this happens when e.g. xdg-desktop-portal fails to lookup the application id of an application that is calling `org.freedesktop.portal.Inhibit`. This should happen less often after https://github.com/flatpak/xdg-desktop-portal/issues/963 is fixed but may still happen. OBSERVED RESULT The applet shows the notification “ is currently blocking sleep and screen locking (reason)“ (see attached screenshot). EXPECTED RESULT The applet should replace the missing application name in the notification, e.g. with “An application” which would display the following notification message: “An application is currently blocking sleep and screen locking (reason)“ SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed (rolling release ; current version id on my system is 20230130) (available in About System) KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION I’ -- You are receiving this mail because: You are watching all bug changes.