Summary: | Qt 6.7 "Error loading QML file." System settings on Plasma 6.0 Beta 2 | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Jai Mu <jai.mu> |
Component: | kcmshell | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | adam.m.fontenot+kde, alexmateescu, andrej.halv, benmordecai, chiccocarone, fanzhuyifan, floriananton.schwarzl, gcala, gwhite, jf.mundox, kde.podagric, kde, kde, kde, Linus, mrashcreates, r.kunschke, roni.hokkanen, s.rapp, xll520yzl, yaomtc |
Priority: | VHI | ||
Version: | 5.91.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugreports.qt.io/browse/QTBUG-120189 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jai Mu
2023-12-21 01:11:26 UTC
Same problem here and same upgrade path (arch linux, just updated from b1 to b2 this evening) I've got some additional debug output from just running systemsettings via konsole. This is all output just initializing the app and loading the default section ``` KQuickPadding is both anonymous and named qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" kf.kcmutils: Error loading QML file qrc:/kcm/kcm_landingpage/main.qml kf.kcmutils: " "qrc:/kcm/kcm_landingpage/main.qml:18:1: Type KCM.SimpleKCM unavailable KCM.SimpleKCM { ^ kf.kcmutils: " "qrc:/qt/qml/org/kde/kcmutils/SimpleKCM.qml:33:1: Type Kirigami.ScrollablePage unavailable Kirigami.ScrollablePage { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:68:1: Type Kirigami.Page unavailable Kirigami.Page { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/Page.qml:237:13: Type Kirigami.PageRow unavailable property Kirigami.PageRow row ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:180:5: Type OverlayDrawer unavailable property OverlayDrawer leftSidebar ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/OverlayDrawer.qml:22:1: Type KT.OverlayDrawer unavailable KT.OverlayDrawer { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/templates/OverlayDrawer.qml:120:56: Cannot assign object of type "KTP.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_61*" as the former is neither the same as the latter nor a sub-class of it. property KTP.IconPropertiesGroup handleClosedIcon: KTP.IconPropertiesGroup { ``` Isolating just switching to the display section where things are broken (including random segfaults): ``` kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. qt.svg.draw: The requested buffer size is too big, ignoring qrc:/qt/qml/org/kde/systemsettings/CategoryItem.qml:33:13: Unable to assign IconPropertiesGroup_QMLTYPE_111 to IconPropertiesGroup_QMLTYPE_111 qrc:/qt/qml/org/kde/systemsettings/CategoryItem.qml:33:13: Unable to assign IconPropertiesGroup_QMLTYPE_111 to IconPropertiesGroup_QMLTYPE_111 qrc:/qt/qml/org/kde/systemsettings/CategoryItem.qml:33:13: Unable to assign IconPropertiesGroup_QMLTYPE_111 to IconPropertiesGroup_QMLTYPE_111 qrc:/qt/qml/org/kde/systemsettings/CategoryItem.qml:33:13: Unable to assign IconPropertiesGroup_QMLTYPE_111 to IconPropertiesGroup_QMLTYPE_111 qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/GlobalSonnetSettings.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/MobileTextActionsToolBar.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/private/CheckIndicator.qml" kf.kcmutils: Error loading QML file qrc:/kcm/kcm_wallpaper/main.qml kf.kcmutils: " "qrc:/kcm/kcm_wallpaper/main.qml:23:1: Type KCM.SimpleKCM unavailable KCM.SimpleKCM { ^ kf.kcmutils: " "qrc:/qt/qml/org/kde/kcmutils/SimpleKCM.qml:33:1: Type Kirigami.ScrollablePage unavailable Kirigami.ScrollablePage { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/ScrollablePage.qml:68:1: Type Kirigami.Page unavailable Kirigami.Page { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/Page.qml:237:13: Type Kirigami.PageRow unavailable property Kirigami.PageRow row ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:180:5: Type OverlayDrawer unavailable property OverlayDrawer leftSidebar ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/OverlayDrawer.qml:22:1: Type KT.OverlayDrawer unavailable KT.OverlayDrawer { ^ kf.kcmutils: " "file:///usr/lib/qt6/qml/org/kde/kirigami/templates/OverlayDrawer.qml:120:56: Cannot assign object of type "KTP.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_61*" as the former is neither the same as the latter nor a sub-class of it. property KTP.IconPropertiesGroup handleClosedIcon: KTP.IconPropertiesGroup { ^ KCrash: Application 'systemsettings' crashing... crashRecursionCounter = 2 [1] 6821 segmentation fault (core dumped) systemsettings ``` If I instead swap to one of the known "good" settings dialogs then instead, I get almost nothing: ``` kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. kf.svg: The theme "lightly-plasma-git" uses the legacy metadata.desktop. Consider contacting the author and asking them update it to use the newer JSON format. qt.svg.draw: The requested buffer size is too big, ignoring ``` This seems to be a packaging issue, and I think arch packaging of plasma 6 beta 2 in kde-unstable hasn't stabilized yet [0]. So I am going to mark this as resolved-downstream for now. [0]: https://bbs.archlinux.org/viewtopic.php?id=289413&p=3 This is a known Qt 6.7 issue https://bugreports.qt.io/browse/QTBUG-120189 *** Bug 478867 has been marked as a duplicate of this bug. *** *** Bug 478894 has been marked as a duplicate of this bug. *** Until this gets fixed you can workaround this issue by putting >QML_DISABLE_DISK_CACHE=1 into your >/etc/environment file and then just reboot your system https://invent.kde.org/plasma/systemsettings/-/merge_requests/280 also is a viable fix >https://invent.kde.org/plasma/systemsettings/-/merge_requests/280 also is a viable fix
Yes, this does seem to work. But, the "Mouse" and "Touchpad" settings in "Mouse & Touchpad" still seem to be broken, and those pages only work with `QML_DISABLE_DISK_CACHE=1`.
And also stuff still goes under the header (like the one that shows the "Quick Settings" text on the landing page when launching System Settings).
That MR also breaks the "Shortcuts" settings page. That page now shows: ``` Error loading QML file. qrc:/kcm/kcm_keys/main.qml:66 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:102 Cannot assign object of type "TP.IconPropertiesGroup" to property of type "IconPropertiesGroup_QMLTYPE_117*" as the former is neither the same as the latter nor a sub-class of it. ``` *** Bug 478962 has been marked as a duplicate of this bug. *** *** Bug 478816 has been marked as a duplicate of this bug. *** *** Bug 478969 has been marked as a duplicate of this bug. *** *** Bug 479031 has been marked as a duplicate of this bug. *** *** Bug 479197 has been marked as a duplicate of this bug. *** *** Bug 479318 has been marked as a duplicate of this bug. *** *** Bug 479536 has been marked as a duplicate of this bug. *** Another workaround for this is to launch the KCM you want directly via the terminal, e.g. `kcmshell6 kcm_networkmanagement`. The issue isn't with the KCMs themselves, it's with embedding them into another window, i.e. System Settings. *** Bug 479681 has been marked as a duplicate of this bug. *** This problem is still present on KDE 6.1 in the main Arch repos (In reply to benmordecai from comment #20) > This problem is still present on KDE 6.1 in the main Arch repos No, it's a different issue. Tracked in https://bugs.kde.org/show_bug.cgi?id=488326 (In reply to Antonio Rojas from comment #21) > (In reply to benmordecai from comment #20) > > This problem is still present on KDE 6.1 in the main Arch repos > > No, it's a different issue. Tracked in > https://bugs.kde.org/show_bug.cgi?id=488326 If so, the same solution of setting QML_DISABLE_DISK_CACHE=1 still solves the problem. |