openscopeproject / TrguiNG

Remote GUI for Transmission torrent daemon
GNU Affero General Public License v3.0
265 stars 32 forks source link

Feature request: disable animations in webui #170

Closed iridial closed 2 months ago

iridial commented 4 months ago

When I have many active torrents all these animations take up a lot of compute power, my laptop cpu utilization spikes until I close or change tab. bars

It would help a lot if there was a way to disable the animations globally in the webui.

I agree that an active torrent should have a different progress bar, but maybe a change of background color is enough. An alternative could be a blinking dot gif before or after the percentage or something more cpu friendly :)

qu1ck commented 4 months ago

Those animations are entirely on gpu, cpu is barely doing anything there. I will add a toggle to disable them.

In the meantime if you make the Done column smaller or move it out of the view to the right it will reduce the load significantly.

iridial commented 4 months ago

thank you! idk why but firefox uses my cpu instead of the gpu.. either way a "low spec mode" toggle would be a very useful feature to have :+1:

Pentaphon commented 3 months ago

An alternative could be a blinking dot gif before or after the percentage or something more cpu friendly :)

@qu1ck I'd rather make actively seeding torrents a totally different color (green) when they seed so they won't need an animation at all, using the work already happening in https://github.com/openscopeproject/TrguiNG/pull/82

@iridial there is an effort to make all the official Transmission UIs use the Mac progressbar colors, so this means that the progressbar for an actively seeding torrent will become green, which is also happening on the above PR for this project. I think this an easy, straightforward, much more obvious and most importantly to you, low-CPU way to show you when a torrent is seeding. I think your issue will be completely solved by removing the animation altogether and simply using the PR above to have progressbars that change color according to what the torrent is doing. What do you think?

iridial commented 3 months ago

What do you think?

fine by me! the other green on the page is #37b24d, so maybe that one can be used.

qu1ck commented 3 months ago

image

qu1ck commented 2 months ago

Implemented in v1.3.0