https://bugs.kde.org/show_bug.cgi?id=508377
Rob <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #20 from Rob <[email protected]> --- I can confirm that the `prefer:` workaround fixes the issue on my system. System: - CachyOS - Plasma 6.7.4 - KDE Frameworks / Kirigami 6.29.0-1.1 - Qt 6.11.2 - Wayland Before the workaround, I was experiencing: - Desktop icons completely missing (the files were still present in ~/Desktop) - Network Management applet failing to load - other Plasma widgets failing to load The relevant errors included: Type Kirigami.InlineMessage unavailable and: Cannot assign object of type "Primitives.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_370*" I commented out all `prefer:` entries in the Kirigami `qmldir` files under: /usr/lib/qt6/qml/org/kde/kirigami/ For example: prefer :/qt/qml/org/kde/kirigami/primitives/ became: #prefer :/qt/qml/org/kde/kirigami/primitives/ I then restarted plasmashell: systemctl --user restart plasma-plasmashell.service After that, the desktop icons immediately reappeared and the previously broken widgets (including Network Management and my third-party widget) started working again. So I can reproduce the issue with the `prefer:` entries enabled and confirm that disabling them fixes it on my system. I have not changed any other Kirigami/Qt files. This also seems to confirm that the issue is related to the QML type being resolved from the `qrc:/qt/qml/...` location instead of the filesystem-installed Kirigami component. The installed `primitives/qmldir` contains: prefer :/qt/qml/org/kde/kirigami/primitives/ IconPropertiesGroup 2.0 IconPropertiesGroup.qml With `prefer:` enabled, I get the `IconPropertiesGroup` type mismatch. With it commented out, the error disappears. -- You are receiving this mail because: You are watching all bug changes.
