orblazer / plasma-applet-resources-monitor

Plasmoid for monitoring CPU, memory, network traffic, GPUs and disks IO.
https://www.pling.com/p/2143899/
GNU General Public License v3.0
57 stars 6 forks source link

[BUG] "General" settings is empty #43

Closed lubomir-moric closed 1 year ago

lubomir-moric commented 1 year ago

Describe the bug After last update, "General" settings page is empty.

To Reproduce Open plasmoid settings.

Expected behavior "General" settings page is showing settings.

Screenshots image

Versions (please complete the following information):

orblazer commented 1 year ago

Hello, That probably due to bump org.kde.plasma.components to 3.0, but in github repo that version was implement in 2017.

So could you share the log by running journalctl /usr/bin/plasmashell -e OR by running in isolated environment with plasmawindowed org.kde.resourcesMonitor-fork (for plasmawindowed you can put logs in file with adding &> file at the end) ?

Thanks.

lubomir-moric commented 1 year ago

Hello, here are the logs using plasmawindowed org.kde.resourcesMonitor-fork: Starting the app:

kf.plasma.quick: Applet preload policy set to 1
kf.plasma.core: requesting config for "Resources Monitor (fork)" without a containment!
Using KRun from QML is deprecated (since 5.88). Use Qt.openUrlExternally, or the KIO::OpenUrlJob/KIO::ApplicationLauncherJob classes from C++ instead.
qml: 0

Opening the settings:

file:///home/leeon/.local/share/plasma/plasmoids/org.kde.resourcesMonitor-fork/contents/ui/config/ConfigGeneral.qml:439:36: PlasmaExtras.Highlight is not a type
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:59: TypeError: Cannot read property 'cfg_objectNameChanged' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:46: TypeError: Cannot read property 'implicitHeight' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:46: TypeError: Cannot read property 'implicitHeight' of null
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:22: TypeError: Cannot read property 'cfg_objectName' of null

Exiting the app:

file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationAppletPage.qml:22: TypeError: Cannot read property 'cfg_objectName' of null
<Unknown File>:1: TypeError: Cannot read property 'Layout' of null
QObject::disconnect: Unexpected nullptr parameter
orblazer commented 1 year ago

Could you try if other pages work or not ? Is for know what i need to revert. Thanks.

lubomir-moric commented 1 year ago

Other sections work: image image image

orblazer commented 1 year ago

I go to implement deprecated PlasmaComponents2.Highlight but in future framework releases the support for PlasmaComponents 2.0 will drop so PlasmaComponents2.Highlight too.

So in version 2.10 or 3.0 of my widget i go to drop that support too.