plasma-applet-thermal-monitor icon indicating copy to clipboard operation
plasma-applet-thermal-monitor copied to clipboard

Thermal monitor requires manual reload in every plasmashell restart

Open ongun-kanat opened this issue 9 years ago • 28 comments

When I start plasmashell thermal monitor does not automaticaly update itself. I have to right click and select reload every time I restarted plasmashell.

I'm using plasma 5.6 on Arch Linux

ongun-kanat avatar Mar 30 '16 13:03 ongun-kanat

Yes, I'm now also noticing this since I've updated my Arch... Thanks! Will try to fix that soon.

kotelnik avatar Mar 30 '16 23:03 kotelnik

4.1.12-gentoo with kde-plasma/plasma-meta-5.6.1 is here and no such problems. Using last version of Thermal Monitor form Plasma Add-on installer

BilyakA avatar Mar 31 '16 03:03 BilyakA

Thanks for info. There really is a problem with property initialization - I believe I've repaired that in latest commits. Please re-test from git and let me know. If it is fine I'll create a new tag and post a .plasmoid on kde-apps. Thanks!

kotelnik avatar Apr 05 '16 17:04 kotelnik

Looks like no, it hasn't been resolved. I reinstalled from AUR git package.

ongun-kanat avatar Apr 06 '16 02:04 ongun-kanat

Thanks! I looked into the problem and it looks like it is a general problem of initialization of array and map properties in plasma widgets. They get re-initialized several times when plasma is starting but also e.g. when external monitor is connected / disconnected. It can (and will) be repaired on my (widget) side. But I consider it a bug in plasma 5.6 (or Qt 5.6, I'm not sure which one's fault is it) so I'll report it elsewhere.

Please wait for my second attempt to repair this issue, I'll do that soon and get back to You.

kotelnik avatar Apr 10 '16 17:04 kotelnik

Committed second attempt to fix this. Please try again :).

kotelnik avatar Apr 10 '16 22:04 kotelnik

it seems that the one from AUR is working fine

wolfyrion avatar Apr 11 '16 22:04 wolfyrion

OK, thanks a lot, closing and making a tag.

kotelnik avatar Apr 12 '16 18:04 kotelnik

I'm running a laptop and an Intel NUC, both with KDE Frameworks 5.24 and KDE Plasma 5.7.1. While on the laptop Thermal Monitor is displaying the temperature instantly after start, on the NUC I have to reload the temperature sources each time.

mamrhein avatar Jul 17 '16 14:07 mamrhein

not resolved in KDE Plasma 5.7 from gentoo

brigadier avatar Aug 03 '16 09:08 brigadier

Alright, thanks for reports, I'll investigate further.

kotelnik avatar Aug 07 '16 21:08 kotelnik

With KDE Frameworks 5.27 and KDE Plasma 5.8.1 it does work on my Intel NUC too. Thanks!

mamrhein avatar Oct 18 '16 15:10 mamrhein

Here cpu temperature is not shown immediately after login. I need to reload thermal monitor manually.

thermal monitor 1.2.9 Operating System: Arch Linux KDE Plasma Version: 5.14.4 Qt Version: 5.12.0 RC2 KDE Frameworks Version: 5.52.0 Kernel Version: 4.19.4-arch1-1-ARCH

glaubersm avatar Nov 30 '18 12:11 glaubersm

I've now got the same problem since the last manjaro-update (see: here ) It worked flawless in the past. "sensors" in terminal shows the correct values, so it seems to be an issue with the initialisation of the widget again?

thermal monitor 1.2.8 / KDE 5.53.0 / Plasma 5.14.4 / Qt 5.12.0 on Kernel 4.20.0

Termuellinator avatar Jan 05 '19 11:01 Termuellinator

After upgrading Qt and KDE, I have the same problem again. After start of Plasma CPU and MB temperature are not show, while disk temperature is. Qt 5.12 / KDE Frameworks 5.54 / Plasma 5.14.4 / Thermal Monitor 1.2.8

mamrhein avatar Jan 20 '19 15:01 mamrhein

Who care about this problem maybe could goto #53 to check the reason(not sure).

roachsinai avatar Jan 21 '19 03:01 roachsinai

Same here since a couple of weeks

artemanufrij avatar Feb 20 '19 18:02 artemanufrij

yeah, having the same issue. did anyone figure out a workaround yet?

andreimarinescu avatar Feb 21 '19 10:02 andreimarinescu

@andreimarinescu @artemanufrij #54 check it!

roachsinai avatar Feb 21 '19 10:02 roachsinai

@roachsinai thank you for your feedback...

artemanufrij avatar Feb 21 '19 16:02 artemanufrij

@roachsinai I cloned your fork of the repo (the one used for the PR), followed the installation instructions and did a reboot. I still need to "Reload temperature sources" manually in order for the CPU temp to show up. Are there any other steps needed?

andreimarinescu avatar Feb 22 '19 10:02 andreimarinescu

Maybe you should read this issue #53 for some details.

roachsinai avatar Feb 22 '19 12:02 roachsinai

The problem still persists for me on two different computers. One running Arch and the other one Manjaro.

veganvelociraptor avatar Dec 29 '19 16:12 veganvelociraptor

The problem still persists for me on two different computers. One running Arch and the other one Manjaro.

for people who still have problems , simple solution

go -->

https://raw.githubusercontent.com/kotelnik/plasma-applet-thermal-monitor/b389b886a7ee759d06c9eb0e6a3b6abbea400035/package/contents/ui/main.qml

Copy Everything

edit

/home/your username/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml

Paste Everything

Save, Restart and you are done

wolfyrion avatar Dec 29 '19 16:12 wolfyrion

Thanks @wolfyrion! That worked perfectly!

Do you know the reason why this is not already implemented as default?

veganvelociraptor avatar Jan 04 '20 07:01 veganvelociraptor

Thanks @wolfyrion! That worked perfectly!

Do you know the reason why this is not already implemented as default?

Still isn't. At least on Manjaro But the quick fix mentioned above solved it :)

africsnail avatar Feb 29 '20 23:02 africsnail

I also still have this problem on Ubuntu Linux, and the above-mentioned quick fix is working. Would I have gotten the fix if I had deleted the .local/share/plasma directory for my user? Don't want to try it now...

nagelp avatar Jun 07 '20 14:06 nagelp

https://raw.githubusercontent.com/kotelnik/plasma-applet-thermal-monitor/b389b886a7ee759d06c9eb0e6a3b6abbea400035/package/contents/ui/main.qml

Fixed here, Ubuntu 20.04, Intel x86_64. The diff for that is just :

--- /home/falken//.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml     2020-07-31 17:28:25.498982256 +0100
+++ /home/falken//.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml.dist        2020-07-31 17:27:56.842175969 +0100
@@ -190,10 +190,6 @@
 
         temperatureModel.clear()
 
-        if (!systemmonitorAvailableSources) {
-            systemmonitorAvailableSources = []
-        }
-
         if (!systemmonitorSourcesToAdd) {
             systemmonitorSourcesToAdd = []
         }
@@ -406,4 +402,3 @@
     }
 
 }

tomchiverton avatar Jul 31 '20 16:07 tomchiverton