Bug 449312

Summary: «Battery and Brightness» applet does not show inhibitions anymore if "screen saver" feature is inhibited
Product: [Plasma] plasmashell Reporter: Philippe ROUBACH <philippe.roubach>
Component: Power and Battery widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, me
Priority: NOR    
Version First Reported In: 5.23.90   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: see the battery & light applet

Description Philippe ROUBACH 2022-01-29 10:56:24 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. use Firefox, chrome, VLC to view a video
2. 
3. 

OBSERVED RESULT

"screen saver feature" is locked but in the applet there is no info about that.

EXPECTED RESULT

"screen saver feature" is locked but in the applet there is an info about that.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

kde gears 21.12.1
Comment 1 Philippe ROUBACH 2022-01-29 10:59:17 UTC
Created attachment 146031 [details]
see the battery & light applet
Comment 2 ratijas 2022-01-29 12:48:26 UTC
I suppose, in English term, you mean that power management inhibitions list is missing/hidden in the applet when applications actually do inhibit sleep and screen locking. This bug was introduced by me, and I'm sorry about that. It was first reverted, and then fixed for good in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1377