https://bugs.kde.org/show_bug.cgi?id=378683

            Bug ID: 378683
           Summary: org.kde.plasma.systemtray configKeys not accessible
                    via plasma script api
           Product: plasmashell
           Version: 5.9.4
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: System Tray
          Assignee: plasma-b...@kde.org
          Reporter: bernard.g...@gmail.com
  Target Milestone: 1.0

I'm trying to programmatically customise my corporate desktop environment,
which involves hiding a few systemtray items. 

I start up the interactive scripting console as per:
qdbus org.kde.plasmashell /PlasmaShell showInteractiveConsole

My script to interrogate the systemtray widget looks like: 
==========
panel = panels()['0'];
for (var j in panel.widgetIds) {
    var widget = panel.widgetById(panel.widgetIds[j]);
    print(widget.configKeys);
    if (widget.type == "org.kde.plasma.systemtray") {
        print(widget.type);
        print(widget.configGroups);
        widget.currentConfigGroup = ["General"];
        print(widget.currentConfigGroup);
        print(widget.configKeys);
    }
}
==========

This output should contain a bunch of configKeys such as:
* applicationStatusShown
* communicationsShown
* extraItems
* knownItems
* hiddenItems

but I'm not seeing *any*. 

I can also writeConfig("$rand_configKey", "some_value"); and it doesn't error,
but it also doesn't change anything.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to