Bug 513669 - Global Theme configuration change in plasmoidsetupscripts for org.kde.plasma.battery no longer changes percentage indicator
Summary: Global Theme configuration change in plasmoidsetupscripts for org.kde.plasma....
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Scripting (other bugs)
Version First Reported In: 6.5.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-12-21 18:58 UTC by Paul McAuley
Modified: 2025-12-29 22:09 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul McAuley 2025-12-21 18:58:56 UTC
Hello,

I made a global look-and-feel theme with a file called org.kde.plasma.battery.js the contents/plasmoidsetupscripts/ directory of my theme. This file is designed to enable the percentage indicator on the battery applet in the system tray. The contents of the file are as follows:

applet.currentConfigGroup = new Array("General");
applet.writeConfig("showPercentage", true);
applet.reloadConfig();

This works perfectly in Plasma 6.3 when changing global themes, however, in Plasma 6.5.4 it no longer functions.
Comment 1 Nate Graham 2025-12-22 21:01:32 UTC
That looks like it should work. Are you 100% sure it's targeting the right widget?
Comment 2 TraceyC 2025-12-29 22:09:52 UTC
Changing status, as we're waiting on information from Paul