Closed ender672 closed 4 years ago
This cuts down on CPU usage when the application is idle.
Even when doing nothing, sequeler uses 1% to 2% CPU on my machine. On laptops this will prevent the CPU from going into idle states.
This happens when any part of the sequeler window is exposed.
I narrowed the CPU usage down to GTK spinners. It seems that the spinner animation is running even when the spinner is not visible.
This PR starts and stops spinners instead of letting them run all the time.
This is interesting, I never noticed that. Thank you so much, I'll review it and merge it later. Cheers
This cuts down on CPU usage when the application is idle.
Even when doing nothing, sequeler uses 1% to 2% CPU on my machine. On laptops this will prevent the CPU from going into idle states.
This happens when any part of the sequeler window is exposed.
I narrowed the CPU usage down to GTK spinners. It seems that the spinner animation is running even when the spinner is not visible.
This PR starts and stops spinners instead of letting them run all the time.