Meriemi-git / org.meriemi.coloredgauge

KDE Plasma widget to manage dynamically colored sensors
GNU General Public License v3.0
0 stars 0 forks source link

Plasma 6 support #2

Open dagguh opened 1 month ago

dagguh commented 1 month ago

On Plasma 6, the widget is not listed anymore.

image

Found this guide for migrating from Plasma 5 to Plasma 6.

Meriemi-git commented 1 month ago

Hi ! Thanks for the issue and guide, i have already porting the majority of the code and i do a lot of rework, codebase was ugly in fact. I added few interesting features but for now i'm really busy IRL so i will update the widget in couple of weeks. I hope you will enjoy the new features.

dagguh commented 1 month ago

Amazing, thank you! It's a great widget :slightly_smiling_face:

Meriemi-git commented 2 weeks ago

I have update the widget, you can find it on KDE store from now, you need to reinstall it to use the Plasma 6 compatible version.

dagguh commented 2 weeks ago

Uninstall + reinstall worked partially. I got the sensor display style on the list, I could configure it (a ton of new options, beautiful!). But after filling everything in, and pressing OK, the widget disappears.

Then I tried to uninstall, reboot and install. Now the installation looks differently: image. First I tried the tar.g.z with the yesterdays' date in it, but nothing happens. Same with the other file. I'll try rebooting again.

dagguh commented 2 weeks ago

Second reboot, the style is not on the list. The installation dialog gives the same choice of tar.gz, but the install doesn't do anything. Should I attach some logs?

dagguh commented 2 weeks ago

After a qt5 update via pamac, it installed! image At first the CPU one was very wide, so I fiddled with negative paddings. Then the GPU one was looking right from the get go. I've reset the CPU to 0 padding and all the other settings are the same, but they look different. Oh well, doesn't matter, they're beautiful anyway :) Recreated the CPU one from scratch, now it's perfect :) image

dagguh commented 2 weeks ago

PS. If I try to use the gauge for RPM, the max data range is 99, but fans reach 1400 RPM.

Meriemi-git commented 2 weeks ago

After a qt5 update via pamac, it installed! image At first the CPU one was very wide, so I fiddled with negative paddings. Then the GPU one was looking right from the get go. I've reset the CPU to 0 padding and all the other settings are the same, but they look different. Oh well, doesn't matter, they're beautiful anyway :) Recreated the CPU one from scratch, now it's perfect :) image

On initialization the width of the widget is determined by the length of the title. But you can force the width with the minimum width setting. If you adjust padding and width it can be usefull to refresh the plasmashell layout with this CMD : kquitapp5 plasmashell > /dev/null 2>&1 ; kstart5 plasmashell > /dev/null 2>&1

Meriemi-git commented 2 weeks ago

PS. If I try to use the gauge for RPM, the max data range is 99, but fans reach 1400 RPM.

Have you try to set the range by hand inside the data tab ?

dagguh commented 2 weeks ago

On initialization the width of the widget is determined by the length of the title.

True. After yet another reboot, suddenly 6 extra widgets appeared. Some were from my failed attempts after the update. Some were back from Plasma 5 times :) Widths were determined by titles, now all is in good order.

dagguh commented 2 weeks ago

Have you try to set the range by hand inside the data tab ?

Yes, but the max range inside the data tab is 99.

Meriemi-git commented 2 weeks ago

I will check