Bug 491318

Summary: "Error loading QML file" in System Settings
Product: [Applications] systemsettings Reporter: yani <yanitsa.1199>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: duha.bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video of me showing the bug

Description yani 2024-08-05 18:08:56 UTC
Created attachment 172311 [details]
Video of me showing the bug

SUMMARY
For some time now whenever I open the settings and go into the "Touchpad" menu the page is completely blank. Then when I go in any other menu some of them display a QML file error. The first one I found was in "General Behavior", which is shown in the video I will attach. I tried this bug with the other settings menus and found that these also show a QML error: Shortcuts (Keyboard), Sound, Display & Monitor, Bluetooth, Thunderbolt, Printers, Wi-Fi & Networking and Firewall (Wi-Fi & Internet), Remote Desktop, Wallpaper, all the menus in Colors & Themes, Fonts (Text & Fonts), Notifications, all the menus in Window Management except Window Behavior and Task Switcher, General Behavior, Search (both File and Plasma search), Application Permissions, User Feedback, Region & Language, Power Management, Autostart and Desktop Session (Session). The error does not show when entering any of these and then "Touchpad" - it works just fine.


STEPS TO REPRODUCE
1. Open System Settings
2. Go in "Mouse & Touchpad" settings
3. Go in "Touchpad"
4. Go in any of the settings menus I mentioned above

OBSERVED RESULT
"Error loading QML file." with specific messages for each menu (kcm_bluetooth for Bluetooth, kcm_pulseaudio for Sound, etc...). For example the message in the video I attached is:

qrc:/kcm/kcm_workspace/main.qml:19 Type Kirigami.InlineMessage unavailable
file:///usr/lib/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_98*" as the former is neither the same as the latter nor a sub-class of it.


EXPECTED RESULT
Expected result: no errors.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 duha.bugs 2024-08-05 18:29:08 UTC

*** This bug has been marked as a duplicate of bug 488326 ***