Circular Progress Bar

Registered by Daniel Fore on 2014-02-08

We now have a nice implicit progress indicator with Gtk.Spinner. But I think it'd be nice to also have an explicit progress indicator as well. This widget should probably have the same properties as Gtk.Image as far as where it can be packed and how it's used, etc.

The use case I have in mind is for something like showing file transfers in a popover in Files, or Downloads in Midori. We could make the toolbar icon something meaningful instead of a static icon and it would be adaptable to other in-progress tasks as well (like rending or converting media or installing packages).

Because we're smart, we should definitely do it programmatically and not with a series of icons. It should be theme-able with Gtk.CSS including: border, margin, background-image, and box-shadow. For the most flexible theming, I think we'd want to be able to theme it as two pieces: the background circle and foreground partial circle.

Until I do a proper mockup, http://i.stack.imgur.com/5ThtH.png

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Daniel Fore
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

You must be reading my mind, I was going to request something like this. The only thing I'd like to add is that it might be a good idea to make some kind of circular progress bar with a radius and arc segments as well, so that they can be nested or put around a Gtk.Label. Jolla Sailfish uses this widget to great effect.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.