SUMMARY I have the Filelight flatpak installed (v22.07.70 reported by the app). When I click on any of the scan buttons on the home page, nothing happens. Below is the info of the installed version from flatpak ``` $ flatpak info org.kde.filelight Filelight - Filelight creates an interactive map of concentric segmented-rings that helps visualize disk usage on your computer ID: org.kde.filelight Ref: app/org.kde.filelight/x86_64/master Arch: x86_64 Branch: master Version: 22.04.0 License: GPL-2.0+ Origin: kdeapps Collection: Installation: system Installed: 544.8 kB Runtime: org.kde.Platform/x86_64/5.15-21.08 Sdk: org.kde.Sdk/x86_64/5.15-21.08 Commit: c00f1b763ac9f0cb6ecf42165481d9b8027187b12cd319aae80c33b10bf638ad Parent: a5eda1ab018e9deedb14cc133626abdf6566717d3972e7cfa720a874e719f298 Subject: Built on Wed Apr 27 21:47:10 CEST 2022 Date: 2022-04-27 19:47:30 +0000 ``` STEPS TO REPRODUCE 1. Install filelight from flatpak 2. flatpak run -v org.kde.filelight 3. Click on the home page icons OBSERVED RESULT nothing happens EXPECTED RESULT Filelight scans my machine SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.24 (user edition) KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 Flatpak 1.12.4 ADDITIONAL INFORMATION ``` $ flatpak run -v org.kde.filelight F: No installations directory in /etc/flatpak/installations.d. Skipping F: Opening system flatpak installation at path /var/lib/flatpak F: Opening user flatpak installation at path /home/jason/.local/share/flatpak F: Opening user flatpak installation at path /home/jason/.local/share/flatpak F: Opening system flatpak installation at path /var/lib/flatpak F: Skipping parental controls check for app/org.kde.filelight/x86_64/master since parental controls are disabled globally F: Opening user flatpak installation at path /home/jason/.local/share/flatpak F: /home/jason/.local/share/flatpak/runtime/org.kde.Platform/x86_64/5.15-21.08/00b47d52c670191fc9b6255750dab766fc3065db2be0c37ae9d3863aa2298d0f/files/lib32 does not exist F: Cleaning up unused container id 2857023847 F: Cleaning up per-app-ID state for org.kde.filelight F: Allocated instance id 3694568507 F: Add defaults in dir /org/kde/filelight/ F: Add locks in dir /org/kde/filelight/ F: Disallowing network access F: Allowing host-fs access F: Allowing wayland access F: Allowing x11 access F: Running 'bwrap --args 43 xdg-dbus-proxy --args=45' F: Running 'bwrap --args 43 filelight' libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory) qrc:/ui/main.qml:174:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:32:15: QML MenuItem: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/org/kde/kirigami.2/private/globaltoolbar/ToolBarPageHeader.qml:14:1: QML ToolBarPageHeader: Binding loop detected for property "implicitWidth" file:///usr/lib/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:270:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. file:///usr/lib/qml/org/kde/kirigami.2/AbstractApplicationWindow.qml:282:5: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. You have to import QtQml 2.15 after any QtQuick imports and set the restoreMode of the binding to fix this warning. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. QQmlComponent: Component is not ready file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type QQmlComponent: Component is not ready file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type QQmlComponent: Component is not ready file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type ```
Note, in the output the error lines (like below) appear on mouse click on the buttons QQmlComponent: Component is not ready file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type
Sounds like you got this from the KDE nightly Flatpak repo or built it yourself. Because the error makes sense: > QQmlComponent: Component is not ready > file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type That component was introduced quite recently, and it's not even in any released software yet. It'll be released in Frameworks 5.94, which will be out in a few days. So you would need to build your own runtime with Frameworks 5.94 in it. In the meantime, we should bump the frameworks dependency version for Filelight to 5.94 to make this clear.
https://invent.kde.org/utilities/filelight/-/merge_requests/33 should resolve that.
(In reply to Nate Graham from comment #2) > Sounds like you got this from the KDE nightly Flatpak repo or built it > yourself. Because the error makes sense: > > > QQmlComponent: Component is not ready > > file:///usr/lib/qml/org/kde/kirigami.2/PageRow.qml:878: Error: Error while loading page: qrc:/ui/MapPage.qml:110 Kirigami.LoadingPlaceholder is not a type > > That component was introduced quite recently, and it's not even in any > released software yet. It'll be released in Frameworks 5.94, which will be > out in a few days. So you would need to build your own runtime with > Frameworks 5.94 in it. > > In the meantime, we should bump the frameworks dependency version for > Filelight to 5.94 to make this clear Yes, that's correct. Nightly build from KDE flatpak repo. Thanks for looking into this bug!
Git commit 603a9665420d02ebab54262aede0ae5bf1a55bbc by Nate Graham. Committed on 09/05/2022 at 17:02. Pushed by sitter into branch 'master'. Bump frameworks version requirement to 5.94 The QML rewrite makes use of Kirigami.LoadingPlaceholder, which was introduced in Frameworks 5.94. FIXED-IN: 22.08 M +1 -1 CMakeLists.txt https://invent.kde.org/utilities/filelight/commit/603a9665420d02ebab54262aede0ae5bf1a55bbc