SUMMARY Latest latte-dock loaded with loading QML file error on Kubuntu 20.04 LTS. STEPS TO REPRODUCE 1. get latte-dock latest git version 2. build 3. run with latte-dock --cc OBSERVED RESULT Error loading QML file: file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/main.qml:1350:13: Type Background.MultiLayered unavailable file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/background/MultiLayered.qml:295:5: Type Colorizer.CustomBackground unavailable file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/colorizer/CustomBackground.qml:116:26: Type KirigamiShadowedRectangle unavailable EXPECTED RESULT Latte-Dock has no QML errors SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 LTS (available in About System) KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION Latte-Dock Version: 0.9.86
1. Are you sure that kde frameworks is 5.68? That codepath is executed only with 5.69 and above 2. Try to install kirigami2 library
Created attachment 131374 [details] system info
(In reply to Michail Vourlakos from comment #1) > 1. Are you sure that kde frameworks is 5.68? That codepath is executed only > with 5.69 and above > 2. Try to install kirigami2 library 1. yes, system info screenshot attached. 2. kirigami2 installed $ dpkg -l | awk '/kirigami/{print $2 "_" $3}' kirigami2-dev_5.68.0-0ubuntu2 libkf5kirigami2-5_5.68.0-0ubuntu2 libkf5kirigami2-doc_5.68.0-0ubuntu2 qml-module-org-kde-kirigami2_5.68.0-0ubuntu2
Having the same issue with the same software levels dpkg -l | awk '/kirigami/{print $2 "_" $3}' kirigami2-dev_5.68.0-0ubuntu2 libkf5kirigami2-5_5.68.0-0ubuntu2 libkf5kirigami2-doc_5.68.0-0ubuntu2 qml-module-org-kde-kirigami2_5.68.0-0ubuntu2
https://invent.kde.org/plasma/latte-dock/-/commit/b2f8f204828f8cbcef629ba351d3ec57adfcfcdb This commit seems to break functionality for me. Anything before https://invent.kde.org/plasma/latte-dock/-/commit/89e94fce3b635c7017527dce4b5c68aed5fdd1c0 works fine. Working Steps: git clone https://github.com/KDE/latte-dock.git cd latte-dock git checkout 89e94fce ./install.sh latte-dock --layout Default -d Broken steps: git clone https://github.com/KDE/latte-dock.git cd latte-dock git checkout b2f8f204 ./install.sh latte-dock --layout Default -d
no idea how to fix this... this is a loader that becomes active only for KF5>=5.69 . If anyone can provide a valid fix, feel free to do so.
Git commit 00fca8cdb0c549a84a41428d5242a41fb0ca779f by Michail Vourlakos. Committed on 10/09/2020 at 15:35. Pushed by mvourlakos into branch 'master'. fix qml break for kf5 <= 5.68 M +3 -8 containment/package/contents/ui/colorizer/CustomBackground.qml M +7 -1 containment/package/contents/ui/colorizer/KirigamiShadowedRectangle.qml C +4 -7 containment/package/contents/ui/colorizer/NormalRectangle.qml [from: containment/package/contents/ui/colorizer/KirigamiShadowedRectangle.qml - 077% similarity] https://invent.kde.org/plasma/latte-dock/commit/00fca8cdb0c549a84a41428d5242a41fb0ca779f