Bug 488965 - KCMs with any InlineMessages or a KNewStuff dialog break in System Settings but work in KCMShell6: Cannot assign object of type "TP.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_101*" as the former is neither the same as the latter
Summary: KCMs with any InlineMessages or a KNewStuff dialog break in System Settings b...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: HI major
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://www.mediafire.com/file/2pvn6a...
Keywords: regression
: 488767 488776 488810 488899 488985 489018 489037 489064 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-22 11:03 UTC by Roke Julian Lockhart Beedell
Modified: 2024-07-01 22:43 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Reproduction screencast. (2.52 MB, video/webm)
2024-06-22 11:03 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-06-22 11:03:07 UTC
Created attachment 170809 [details]
Reproduction screencast.

STEPS TO REPRODUCE

1.  Updated OS using `plasma-discover`.
2.  `systemctl reboot`.
3.  `systemsettings`.
4.  Select any of the KCMs depicted at https://www.mediafire.com/file/2pvn6adh2tgh0te/Screencast_20240622_115500.webm/file - the "Colour & Theme" ones are all broken.

OBSERVED RESULT

> **Error loading QML file.**
> 
> ```log
> qrc:/kcm/kcm_sddm/main.qml:38 Type NewStuff.Action unavailable
> qrc:/qt/qml/org/kde/newstuff/Action.qml:167 Type NewStuff.Page unavailable
> qrc:/qt/qml/org/kde/newstuff/Page.qml:133 Type Kirigami.InlineMessage unavailable
> file:///usr/lib64/qt6/qml/org/kde/kirigami/InlineMessage.qml:63 Type KT.InlineMessage unavailable
> qrc:/qt/qml/org/kde/kirigami/templates/InlineMessage.qml:123 Cannot assign object of type "TP.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_81*" as the former is neither the same as the latter nor a sub-class of it.
> ```

EXPECTED RESULT

All KCMs listed should be visible via `systemsettings`.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.9.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi
Comment 1 Antonio Rojas 2024-06-22 12:24:47 UTC

*** This bug has been marked as a duplicate of bug 488326 ***
Comment 2 Nate Graham 2024-06-29 19:40:24 UTC

*** This bug has been marked as a duplicate of bug 487904 ***
Comment 3 Nate Graham 2024-07-01 16:55:17 UTC
Thanks for the screencast, that was very useful! It helped me see that the problem affects all KCMs using Kirigami.InlineMessage.
Comment 4 Roke Julian Lockhart Beedell 2024-07-01 16:56:18 UTC
(In reply to Nate Graham from comment #3)
My pleasure.
Comment 5 Roke Julian Lockhart Beedell 2024-07-01 18:14:17 UTC
Considering https://bugs.kde.org/show_bug.cgi?id=488326#c29, should this still be RESOLVED DUPLICATE?
Comment 6 Nate Graham 2024-07-01 18:15:27 UTC
Let's use this as the master bug for the issue where the issue is seen in all KCMs that use Kirigami.InlineMessage directly or KNS (the KNS dialog has an InlineMessage in it), where the icon is not overridden by the implementation.

This one does seem to get fixed if you delete the contents of ~/.cache, and we haven't gotten any new bug reports about it since the initial release of Plasma 6.1.
Comment 7 Nate Graham 2024-07-01 18:15:53 UTC
*** Bug 489018 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-07-01 18:15:59 UTC
*** Bug 488899 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-07-01 18:16:08 UTC
*** Bug 489064 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-07-01 18:16:19 UTC
*** Bug 488810 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2024-07-01 18:16:24 UTC
*** Bug 489037 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2024-07-01 18:16:29 UTC
*** Bug 488985 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2024-07-01 18:17:03 UTC
*** Bug 488776 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2024-07-01 18:17:08 UTC
*** Bug 488767 has been marked as a duplicate of this bug. ***