MediaPlayerBox uses 100% cpu while playing

Bug #1034553 reported by Niels Egberts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly Widgets
New
Undecided
Unassigned

Bug Description

The _set_slider_range function is called by Gobject.idle_add and thus calls it whenever the main thread is idle, making the app run at 100% cpu.

This can be fixed by calling it only every second with Gobject.timeout_add. I've attached the fix

Revision history for this message
Niels Egberts (nielsegberts) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.