atul-g / plasma-power-monitor

A KDE Plasma widget to monitor the power consumption of your battery.
GNU General Public License v2.0
28 stars 12 forks source link

Widget causes constant UI restart #12

Open KarkanAlzwayed opened 1 year ago

KarkanAlzwayed commented 1 year ago

The UI kept restarting, as in going black all together where everything disappears then comes back. This happens in a random interval, but it doesn't take too long to happen again. Sometimes, it just hangs on a black screen where I only see the cursor. Removed the widget and the system is normal now.

Operating System: EndeavourOS KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-arch2-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: Dell Inc. Product Name: Inspiron 7573

TheOverpassArsonist commented 1 year ago

Same issue, Intel, arch, embedded intel graphics, etc. but I'm on an Asus rather than a dell. As for potentially fixing the problem, if I run plasmashell in my terminal XMLHttpRequest: Using GET on a local file is dangerous and will be disabled by default in a future Qt version.Set QML_XHR_ALLOW_FILE_READ to 1 if you wish to continue using this feature. is printed about every second. (which I have the widget configured to refresh every second)

Additionally, my plasmashell primarily crashes when I use a touchpad gesture to change desktops. It's more unstable across the board, but it will crash nearly 100% of the time I change desktops with this installed.

edit : just checked and it looks like atul-g hasn't had any activity on their account at all in over a year, so this is unlikely to be fixed and will probably either need to be forked and maintained by someone else or we'll just need to find an alternative.

ostap-tymchenko commented 1 year ago

Same issue, Framework 11th gen intel, with fedora 38 and KDE 27. I've been so annoyed with this I've reinstalled my whole os to try to fix it, just for it to reappear. It happened anytime 1) logging into KDE 2) switching desktops 3) randomly.

I love this plugin, but the fact that it can cause such a serious and frustrating issue has me worried. while its being fixed, does anyone know of a similar alternative?

Operating System: Fedora Linux 38 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.14-200.fc38.x86_64 (64-bit) Graphics Platform: X11 Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: Framework Product Name: Laptop System Version: AA

zyansheep commented 8 months ago

Running across this issue as well (Framework AMD, NixOS 24.05). It doesn't seem to crash anything if I run it plasmoidviewer, (even with all the XMLHttpRequest messages), but it still is a bit buggy.

I decided to setup a custom system monitor power plasmoid instead (apparently you can do that!). It's not quite as accurate, and doesn't update as fast for some reason, but it seems to work well enough...