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

--- Comment #10 from martc...@gmx.net ---
I'll have a look into the QML errors/warnings caused by the Plasmoid code
itself. However, I doubt they influence how the system settings Plasmoids
handles the settings of its entries.

---

I have the following settings in
`/.config/plasma-org.kde.plasma.desktop-appletsrc`:

```
[Containments][7][General]
extraItems=org.kde.plasma.notifications,org.kde.plasma.battery,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.mediacontroller,org.kde.plasma.keyboardlayout,org.kde.plasma.brightness,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.keyboardindicator,org.kde.plasma.devicenotifier,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.cameraindicator,org.kde.plasma.printmanager,org.kde.plasma.manage-inputmethod,martchus.syncthingplasmoid-qt6
knownItems=org.kde.plasma.notifications,org.kde.plasma.battery,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.mediacontroller,org.kde.plasma.keyboardlayout,org.kde.plasma.brightness,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.keyboardindicator,org.kde.plasma.devicenotifier,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.cameraindicator,org.kde.plasma.printmanager,org.kde.plasma.manage-inputmethod
shownItems=martchus.syncthingplasmoid-qt6
```

```
[Containments][321][General]
extraItems=org.kde.plasma.notifications,org.kde.plasma.battery,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.mediacontroller,org.kde.plasma.keyboardlayout,org.kde.plasma.brightness,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.keyboardindicator,org.kde.plasma.devicenotifier,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.cameraindicator,org.kde.plasma.printmanager,org.kde.plasma.manage-inputmethod,martchus.syncthingplasmoid-qt6
hiddenItems=Discover-Benachrichtigungen_org.kde.DiscoverNotifier
knownItems=org.kde.plasma.notifications,org.kde.plasma.battery,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.mediacontroller,org.kde.plasma.keyboardlayout,org.kde.plasma.brightness,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.keyboardindicator,org.kde.plasma.devicenotifier,org.kde.plasma.networkmanagement,org.kde.kdeconnect,org.kde.plasma.cameraindicator,org.kde.plasma.printmanager,org.kde.plasma.manage-inputmethod
shownItems=martchus.syncthingplasmoid-qt6
```

So `martchus.syncthingplasmoid-qt6` is present twice per system settings
Plasmoid. (I have two of such Plasmoids, one per screen/panel.) If I delete the
entry under `extraItems` I can get rid of the problematic/empty entry in the
settings UI. I have first deleted it in one of the containments and that helped
with the system settings Plasmoid on one screen while the other one still had
the problematic/empty entry. Then I removed both and everything was cleaned up.
So the duplicate entries in the settings are definitely one part of the
symptom.

Interestingly, if I go into the settings and change the visibility from "Show
always" to "Show when important" (not sure about the wording, I'm translating
these from German) the entry is moved from `showItems` to `extraItems` in the
settings file. That is expected but if I now close and reopen the settings
dialogue again, the problematic/empty entry on top is back (but the newly
assigned visibility is still correctly shown in the correct entry below). If I
change the visibility back to "Show always" the entry is added under 
`showItems` but not removed under  `extraItems` leading to the duplicate entry
situation I saw initially.

So I guess we have two concrete problems:

* When `martchus.syncthingplasmoid-qt6` is part of `extraItems` in the settings
file an erroneous entry for it is shown in the settings UI.
* When the visibility of an entry is changed in the UI the `extraItems` field
in the settings file is not cleared.

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

Reply via email to