Bug 460096 - On a desktop machine, "Power Management" applet is named "Battery and Brightness" in System Tray settings
Summary: On a desktop machine, "Power Management" applet is named "Battery and Brightn...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 5.25.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 15:19 UTC by Patrick Silva
Modified: 2022-10-14 20:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (157.95 KB, image/png)
2022-10-07 15:19 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-10-07 15:19:35 UTC
Created attachment 152630 [details]
screenshot

The title says it all. Please see the attached screenshot.

EXPECTED RESULT
the applet should be called 'Power Management' in system tray settings too.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 ratijas 2022-10-07 15:22:29 UTC
Wait, when did it become "Power Management"? The applet doesn't manage any power itself, except setting brightness and displaying battery status.
Comment 2 Patrick Silva 2022-10-07 15:26:51 UTC
I think it is called 'Power Management' in desktop computers without a battery and without support to screen brightness adjustment.
Comment 3 Patrick Silva 2022-10-07 15:42:38 UTC
The icon is also different in system tray.
Comment 4 Patrick Silva 2022-10-07 15:43:41 UTC
(In reply to Patrick Silva from comment #3)
> The icon is also different in system tray.

system tray settings, I meant.
Comment 5 Nate Graham 2022-10-10 16:46:14 UTC
Is this machine a laptop or a desktop?
Comment 6 Alex Barrero 2022-10-13 06:13:55 UTC
Besides of this issue, in my laptop now the system tray icon does not display the battery percentage. It says that there is not battery available.

It seems the same issue that an older bug used to affect, that on sometimes the icon showed this same message of no battery detected or available

Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.0-50-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: TOSHIBA
Product Name: SATELLITE PRO A50-D
System Version: PS585E-03F030CE
Comment 7 Patrick Silva 2022-10-13 10:24:36 UTC
(In reply to Nate Graham from comment #5)
> Is this machine a laptop or a desktop?

Desktop.
Comment 8 Nate Graham 2022-10-14 17:50:01 UTC
In that case, the fact that the name changes to "Power Management" in the popup is intentional, and the bug is that the name doesn't get changed in the settings window.
Comment 9 Nate Graham 2022-10-14 20:36:41 UTC
In fact I'm not sure we can; the name shown in the popup dynamically changes in the plasmoid's code, but the name shown in the settings window is taken from its JSON metadata, which is unchanging.

I can think of a few options:
1. Don't ever change the plasmoid's name. Downside: lose name changing feature in System Tray
2. Have the settings window get the name from the plasmoid not its metadata. Downside: name still wrong everywhere else (widget explorer, Krunner, Discover, etc)
3. Allow the JSON metadata name to change using the same logic as in the applet. Probably technically impossible.

So unfortunately I think we have to live with this the way it is, sorry.