Bug 494417 - Plasma settings dialogs: [Component] does not have a property called cfg_XYZ
Summary: Plasma settings dialogs: [Component] does not have a property called cfg_XYZ
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 484272 484541 500344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-10 12:23 UTC by postix
Modified: 2025-02-18 20:10 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-10-10 12:23:31 UTC
SUMMARY

Open the settings dialog for the tray. Click on the vertical tab categories like "Entries", "General", etc.
Journalctl logs the following: 

Entries
```
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml:0:1: QML ConfigEntries: Created graphical object was not placed in the graphics scene.
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_extraItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_hiddenItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_iconSpacing
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_iconSpacingDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_knownItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_knownItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_pin
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_pinDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_scaleIconsToFit
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_scaleIconsToFitDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_showAllItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigEntries.qml: Setting initial properties failed: ConfigEntries does not have a property called cfg_shownItemsDefault
```


General
```
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml:15:1: QML ConfigGeneral: Created graphical object was not placed in the graphics scene.
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_extraItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_extraItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_hiddenItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_hiddenItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_iconSpacingDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_knownItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_knownItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_pin
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_pinDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_scaleIconsToFitDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_showAllItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_showAllItemsDefault
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_shownItems
plasmashell: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ConfigGeneral.qml: Setting initial properties failed: ConfigGeneral does not have a property called cfg_shownItemsDefault
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Graphics Platform: Wayland
Comment 1 Akseli Lahtinen 2024-10-10 13:07:17 UTC
Can confirm 

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.10.12-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 2 Marco Martin 2025-01-21 10:37:17 UTC
the only workaround would be defining all such properties in ConfigEntries.

the architecture of the plasmoid configuration window is not great and doesn't really distinguish what page configures what property, so it 's trying to assign such properties to every sub-page of the config dialog it's opening, even tough some are in the general page, some are in the entries page.

it's needed some change in architecture
Comment 3 Marco Martin 2025-01-21 10:51:06 UTC
*** Bug 484272 has been marked as a duplicate of this bug. ***
Comment 4 cwo 2025-02-18 20:05:40 UTC
Does not only apply to system tray, but all plasmoid configuration.

olib has a proposed fix here, but it still needs some work: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2619#note_1074215

This already has a duplicate marked and more recent activity, so I'm merging the older one in here, but see that one also for some discussion.
Comment 5 cwo 2025-02-18 20:08:10 UTC
*** Bug 484541 has been marked as a duplicate of this bug. ***
Comment 6 cwo 2025-02-18 20:10:23 UTC
*** Bug 500344 has been marked as a duplicate of this bug. ***