koolskateguy89 / gnome-shell-extension-spotify-controller

A GNOME Shell extension to control Spotify in the top bar
https://extensions.gnome.org/extension/4013/spotify-controller/
GNU General Public License v3.0
46 stars 3 forks source link

Performance issue #2

Closed drzel closed 3 years ago

drzel commented 3 years ago

When enabled it seems to cause my system to lag every 2 seconds, causing stuttering in videos etc.

koolskateguy89 commented 3 years ago

I had this issue as well and had an idea what was causing it but after more investigation I found the culprit.

For some reason when using a timeout less than 1 second, it seems to just refresh as many times as it can - in my case ~20 times a second. I'm gonna change it to 1 second & commit but I'm working on another potential performance improvement atm, once that's done I'll push & reupload to Gnome Extensions

koolskateguy89 commented 3 years ago

@drzel it should be fixed now, I've submitted it to the GNOME Extensions website - waiting for review. If you uninstall the extension then manually install it using the instructions in the README, it should be fixed.