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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #22 from [email protected] ---
(In reply to Rob from comment #20)
> 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.

Can confirm as well, running "sudo find /usr/lib/qt6/qml/org/kde/kirigami/
-type f -name qmldir -exec sed -i.bak 's|prefer :|#prefer :|g' {} +" which
replaces "prefer :" with "#prefer :" and restarting resolves the issues of
icons not appearing on the desktop and the networkmanagement applet crashing.

I updated yesterday, but noticed the bug today after booting again.

Operating System: Arch Linux
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 6.18.46-1-lts

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

Reply via email to