Hi, when I start kinfocenter from a terminal and click on "Energy Information", I see the following error messages in the terminal: org.kde.kcoreaddons: Error loading plugin "kcm_energyinfo" "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 Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ComboBox.qml:564: TypeError: Cannot read property '__dropDownStyle' of null QQmlExpression: Expression file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:460:43 depends on non-NOTIFYable properties: Solid::Battery::serial file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:119:9: QML ColumnLayout: Binding loop detected for property "width" file:///usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/Graph.qml:64: TypeError: Cannot read property 'x' of undefined This is with this Neon package: Package: kinfocenter Version: 4:5.6.5+p16.04+git20160616.1441-0 and the application itself reports: Version 5.7.90 KDE Frameworks 5.24.0 Qt 5.6.0 (built against 5.6.0) The xcb windowing system Reproducible: Always
I can confirm these issues are still a problem, just the plugin search path is different on my Manjaro. Missing plugin seems to be breaking energy information statistics - cannot confirm this 100%. org.kde.kcoreaddons: Error loading plugin "kcm_energyinfo" "The shared library was not found." Plugin search paths are ("/usr/lib/qt/plugins", "/usr/bin") The environment variable QT_PLUGIN_PATH might be not correctly set ... The library kcm_energyinfo.so is actually in /usr/lib/qt/plugins/kcms. After symlinking library to /usr/lib/qt/plugins the first error message disappears, but I still can't see any statistics. Energy consumption statistics 0.1 KDE Frameworks 5.40.0 Qt 5.9.2 (built against 5.9.2) KDE Plasma version 5.11.3 The xcb windowing system
Is this still reproducible on newer plasmas?
Yes, I still see this on current Neon - with the same search paths as in the original report - which was also Neon. (However battery statistics work for me now as expected, so that was probably an unrelated issue.) org.kde.kcoreaddons: Error loading plugin "kcm_energyinfo" "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 Operating System: KDE neon 5.17 KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.13.2 Kernel Version: 4.15.0-74-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz Memory: 7,5 GiB of RAM
Upon inspection none of them are actually errors but warnings. The one that actually says error when it clearly isn't should be fixed by https://phabricator.kde.org/D26791