Bug 488965

Summary: 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
Product: [Applications] systemsettings Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: major CC: abiralpokharel001, airis.luna, alexandre.paradis, cherifkahsum, francisco53_66, kalzwayed, kdedev, matnazarovsobirjon123, nate, razap0, s.overvliet, spam_eater
Priority: HI Keywords: regression
Version: 6.0.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://www.mediafire.com/file/2pvn6adh2tgh0te/Screencast_20240622_115500.webm/file
See Also: https://bugreports.qt.io/browse/QTBUG-120189
Latest Commit: Version Fixed In:
Attachments: Reproduction screencast.

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. ***
Comment 15 s.overvliet 2024-07-02 17:58:42 UTC
Hi,

I'm attempting to remotely assist with this, KDE Neon 'user' plain vanilla install on a Linx 1010B tablet.
ISO used to install was "neon-user-20240620-0718.iso", the problem persists through updating to KDE 6.1.1.

KDE Plasma 6.1.1
Framework 6.3.0
Qt 6.7.0
Kernel 6.5.0-41generic

Unfortunately deleting the contents of ~./cache does not offer a solution.
When attempting to access the firewall settings through System Settings > Wi-Fi & Networking > Firewall:

---8><---
Error loading QML file.

qrc:/kcm/kcm_firewall/main.qml:152 Type Kirigami.InlineMessage unavailable
file:///usr/lib/x86_64-linux-gnu/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_85*" as the former is neither the same as the latter nor a sub-class of it.
---8><---
Comment 16 s.overvliet 2024-07-03 21:13:18 UTC
(In reply to s.overvliet from comment #15)

I was able to reproduce the situation on another machine, clean offline install.
ISO used (https://files.kde.org/neon/images/user/20240627-0718/neon-user-20240627-0718.iso) was downloaded today (3/7/2024).
Installed the system without an internet connection, rebooted, Clicked through System Settings > Wi-Fi & Internet > Firewall and was able to access the settings and toggle the firewall on/off just fine.
Connected to Wi-Fi, allowed the system to update, rebooted, and now the firewall section is bricked like it is on the other system.

Current system:

KDE 6.1.2
Framework 6.3.0
Qt 6.7.0
Kernel 6.5.0-41-generic
Comment 17 Antonio Rojas 2024-07-04 06:19:46 UTC
*** Bug 489712 has been marked as a duplicate of this bug. ***