Short high CPU usage bursts
Environment
- Lollypop version: 1.0.3
- GTK+ version: 3.24.8-1
- Operating system: Arch Linux 5.0.7-arch1-1-ARCH
Bug
I have Lollypop open in background with music paused. I'd expect it to consume little to no CPU except when I use it but it regularly uses 10-12% for a few seconds. Here are a few things I can use to reproduce it:
- Switch the workspace. Sometimes this only works if I switch over the workspace where Lollypop is in, sometimes it only triggers if Lollypop is not minimized, sometimes not. Moving from the first workspace to the last one and back repeatedly using keyboard shortcuts seems to be especially effective.
- Switch to the window.