CPU wasted when device is rotated
Bug #1544825 reported by
Michi Henning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Music App |
New
|
Undecided
|
Unassigned |
Bug Description
Load a bunch of songs from various artists and albums into the Music folder. (Just your usual run-of-the-mill music collection.)
Play a song and go to the "Now playing" view.
Run a tail -f dbus.log.
Now rotate the device. Every time I change orientation, I see a whole bunch of requests go the thumbnailer for completely unrelated songs and artists. This is rather wasteful on the CPU, particularly if the thumbnailer service was idle for a while. In that case, we start up the service, initialize the database, etc, etc. All that is really costly in terms of battery.
It would be good to avoid the waste.
To post a comment you must log in.
This is probably because all the tabs are loaded and anything in the stack below is loaded. Which might be improved depending how we implement convergence support, as one route made it possible to suspend the non-visible tabs.