Closed THMonster closed 2 years ago
Hello, that is strange :confused:
Could you try if with 2.6.3
that is work ?
If not could you add print(column, data(indexVar, Sensors.SensorDataModel.Name), value)
before this line ? https://github.com/orblazer/plasma-applet-resources-monitor/blob/0ab30cb1ddf0fa98e9cdf1f09c743c0721affd33/package/contents/ui/components/SensorGraph.qml#L34
Thanks
Hello, that is strange confused
Could you try if with
2.6.3
that is work ? If not could you addprint(column, data(indexVar, Sensors.SensorDataModel.Name), value)
before this line ?Thanks
Added. But how can i get the output info?
oh i got it.
I tried downgrade. 2.6.3 doesn't work. 2.5.3 works.
I tried downgrade. 2.6.3 doesn't work. 2.5.3 works.
That is normal because i have change the system in 2.6.0
.
oh i got it.
That values look like percent and only CPU...
And i can't reproduce the issue at all, so for that i need some debug :
print(column, sensors[column])
(my previous line is not great because its follow system language...) before this line https://github.com/orblazer/plasma-applet-resources-monitor/blob/0ab30cb1ddf0fa98e9cdf1f09c743c0721affd33/package/contents/ui/components/SensorGraph.qml#L26print(" ", value)
before this line https://github.com/orblazer/plasma-applet-resources-monitor/blob/0ab30cb1ddf0fa98e9cdf1f09c743c0721affd33/package/contents/ui/components/SensorGraph.qml#L31Component.onCompleted: print(JSON.stringify(plasmoid.configuration))
before this line https://github.com/orblazer/plasma-applet-resources-monitor/blob/74a40cfeaad6ded973de605dde97974464708540/package/contents/ui/main.qml#L75Sorry to ask you to debug that for me :disappointed: and thanks by advance.
Version 2.7.0:
I've tried removing the widget and adding it again with no prevail. Memory indicator never works.
Hello, Maybe i have found the solution, could you try with that unreleased version ? resourcesMonitor-fork-unreleased.zip
And if that not fix, could you check on System Monitor
(from plasma-systemmonitor
) for see if you have the value ?
Thanks.
Okay, memory in percentage now works:
But not when it is not in percentage:
(I have no swap, just in case)
What is your step to reproduce this case ?
I can't reproduce that case :disappointed: but i have found the reason, the max value is not defined for unknown reason.
I have an question, you have some swap define on the system or is disabled ?
If you have swap, could you add debugs :
print(totalMemory)
bellow https://github.com/orblazer/plasma-applet-resources-monitor/blob/master/package/contents/ui/main.qml#L192print(totalSwap)
below https://github.com/orblazer/plasma-applet-resources-monitor/blob/d75e0174a4cc98abb3bf3af3043eb073fc36e524/package/contents/ui/main.qml#L195Thanks by advance
Jan 15 09:39:45 tigr-TUXEDO plasmashell[1488233]: qml: 33001844736
Jan 15 09:39:45 tigr-TUXEDO plasmashell[1488233]: qml: 0
@orblazer Thank you. With 2.7.1 finally everything works as intended.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots![image](https://user-images.githubusercontent.com/5125031/149252896-54fd87e7-020c-4cab-a780-32f9ff6a4542.png)
Versions (please complete the following information):