Use common progress bar

Bug #594782 reported by Mathias Brodala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Mathias Brodala

Bug Description

A custom progress bar should be written which takes care of all required updating as well as seeking.
Custom drawing could be used to add visual markers (useful for bookmarks plugin, an A-B-Repeat and possibly cue sheets).
Buffering progress or similar could also be hinted at by custom drawing.

Related branches

Mathias Brodala (mathbr)
Changed in exaile:
assignee: nobody → Mathias Brodala (mathbr)
Revision history for this message
reacocard (reacocard) wrote :

I like the idea of a marker API, though figuring out how to make it follow the GTK theme will be interesting. Each marker could have callbacks when its clicked, and setting markers could be done with a right-click ProviderMenu on the bar.

Buffering I'm not so sure of as gst doesn't provide us a lot of info in this regard, but we could at least move the buffering message into the progressbar text itself.

Another idea - automatically adjust update frequency based on size of the bar and length of the track, so it moves perfectly smoothly. May need some work to make this not be cpu-hungry.

Revision history for this message
Mathias Brodala (mathbr) wrote :

Fixed with r3599. Markers can be added via the new progress bar context menu and by default offer to jump to them, move them and remove them. Both menus are extensible through providers.

Changed in exaile:
status: Confirmed → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
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.