Bug 389281 - qml errors persist in systemsettings5 making it unusable.
Summary: qml errors persist in systemsettings5 making it unusable.
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR critical
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 14:19 UTC by skrappjaw
Modified: 2024-09-02 09:33 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screen shot of the issue. plasma app vs pavucontrol (468.32 KB, image/png)
2018-01-21 14:19 UTC, skrappjaw
Details
systemsettings5 is broken also. (26.33 KB, image/png)
2018-01-21 20:06 UTC, skrappjaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skrappjaw 2018-01-21 14:19:54 UTC
Created attachment 110029 [details]
Screen shot of the issue. plasma app vs pavucontrol

I am working on an audio tutorial on a fresh install of KDEneon. But, it is kind of difficult when the default app for changing the audio settings in pulse is broken. I have to install an oustide app that does not integrate with plasma in order to change the audio settings. Screenshot included.
Comment 1 David Rosca 2018-01-21 14:21:42 UTC
Can you run plasmashell from terminal and paste the output when opening the config dialog?
Comment 2 skrappjaw 2018-01-21 14:31:00 UTC
KActivitiesStats( 0x4c31f90 ) ResultModelPrivate::onResultScoreUpdated  result added: "applications:org.kde.ksysguard.desktop" score: 0 last: 1516544866 first: 1516544866
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/AppletConfiguration.qml:284:21: QML StackView: Binding loop detected for property "height"
"file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml" 
 "Error loading QML file.\n24: module \"org.kde.kcm\" is not installed\n"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationKcmPage.qml:43: TypeError: Type error
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/AppletConfiguration.qml:284:21: QML StackView: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationKcmPage.qml:43: TypeError: Type error
Comment 3 David Rosca 2018-01-21 14:32:07 UTC
"Error loading QML file.\n24: module \"org.kde.kcm\" is not installed\n"
Comment 4 skrappjaw 2018-01-21 14:36:58 UTC
How does one get this module installed? My main machine had no issue with this.
Comment 5 skrappjaw 2018-01-21 18:47:45 UTC
Seems like other settings are also broken. I went to set some auto mounts for storage, and non of those options were there. More qml errors.
Comment 6 skrappjaw 2018-01-21 20:01:37 UTC
I also have this happening in my main machine install now after latest update. This is the output of systemsettings5 when I move to the look and feel options.

reating the cache for:  "kcm:style.desktop"
Already in database?  true
      First update :  QDateTime(2018-01-21 14:54:59.000 EST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2018-01-21 14:57:22.000 EST Qt::TimeSpec(LocalTime))
After the adjustment
     Current score :  3
      First update :  QDateTime(2018-01-21 14:54:59.000 EST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2018-01-21 14:57:22.000 EST Qt::TimeSpec(LocalTime))
Interval length is  0
         New score :  4
ResourceScoreUpdated: "23472dc0-22f7-4d66-a4b8-56217d37744e" "org.kde.systemsettings" "kcm:style.desktop"
KActivitiesStats( 0x1794230 ) ResultModelPrivate::onResultScoreUpdated  result added: "kcm:style.desktop" score: 4 last: 1516564873 first: 1516564499
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "minimumHeight"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "minimumHeight"
org.kde.kcoreaddons: Error loading plugin "kcm_lookandfeel" "The shared library was not found." 
Plugin search paths are ("/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
"file:///usr/share/kpackage/kcms/kcm_lookandfeel/contents/ui/main.qml" 
 "Error loading QML file.\n28: module \"org.kde.kcm\" is not installed\n"
Creating the cache for:  "kcm:kcm_lookandfeel.desktop"
Already in database?  true
      First update :  QDateTime(2018-01-21 14:54:59.000 EST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2018-01-21 14:57:25.000 EST Qt::TimeSpec(LocalTime))
After the adjustment
     Current score :  2
      First update :  QDateTime(2018-01-21 14:54:59.000 EST Qt::TimeSpec(LocalTime))
       Last update :  QDateTime(2018-01-21 14:57:25.000 EST Qt::TimeSpec(LocalTime))
Interval length is  0
         New score :  3
ResourceScoreUpdated: "23472dc0-22f7-4d66-a4b8-56217d37744e" "org.kde.systemsettings" "kcm:kcm_lookandfeel.desktop"
KActivitiesStats( 0x1794230 ) ResultModelPrivate::onResultScoreUpdated  result added: "kcm:kcm_lookandfeel.desktop" score: 3 last: 1516564876 first: 1516564499
Comment 7 skrappjaw 2018-01-21 20:06:13 UTC
Created attachment 110032 [details]
systemsettings5 is broken also.

something is amiss...
Comment 8 Rik Mills 2018-01-21 20:20:04 UTC
Install qml-module-org-kde-kcm with

sudo apt install qml-module-org-kde-kcm

Add the qml module as a dependency of systemsettings has already been committed to packaging in git

https://packaging.neon.kde.org/plasma/systemsettings.git/commit/?h=Neon/release&id=a04156e4b6383dd927be9d4201d0eb1ea81d0cc4

and a fixed build done.

However, at the moment seems some of the jobs required to publish to 'release' are not working.
Comment 9 Ned 2024-08-28 23:24:36 UTC
Similar or possibly same issue on Tuxedo OS.

Display config: "Error loading QML file.

qrc:/kcm/kcm_kscreen/main.qml:151 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_80*" as the former is neither the same as the latter nor a sub-class of it."

Sound settings: "Error loading QML file.

qrc:/kcm/kcm_pulseaudio/main.qml:366 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_80*" as the former is neither the same as the latter nor a sub-class of it."

System basics:

Operating System: TUXEDO OS 3
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-101041-tuxedo (64-bit)
Graphics Platform: Wayland
Comment 10 Ned 2024-08-29 05:42:53 UTC
(In reply to Ned from comment #9)
> Similar or possibly same issue on Tuxedo OS.
> 
> Display config: "Error loading QML file.
> 
> qrc:/kcm/kcm_kscreen/main.qml:151 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_80*" as the former is neither the same as the
> latter nor a sub-class of it."
> 
> Sound settings: "Error loading QML file.
> 
> qrc:/kcm/kcm_pulseaudio/main.qml:366 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_80*" as the former is neither the same as the
> latter nor a sub-class of it."
> 
> System basics:
> 
> Operating System: TUXEDO OS 3
> KDE Plasma Version: 6.1.4
> KDE Frameworks Version: 6.5.0
> Qt Version: 6.7.2
> Kernel Version: 6.8.0-101041-tuxedo (64-bit)
> Graphics Platform: Wayland

Huh. It's working now. Just fixed itself.