[Sugar-devel] Download Manager ProgressBar [DESIGN]
Utkarsh Tiwari
iamutkarshtiwari at gmail.com
Mon Feb 1 13:01:28 EST 2016
Is there any way to use a ProgressIcon as a Toolbutton ?
On 2/1/16, Sam P. <sam at sam.today> wrote:
> Hello!
>
> Maybe just a large down arrow and fill it vertically? See
> 'emblem-downloads' or 'transfer-from' in sugar-artwork.
>
> Thanks,
> Sam
>
>
> On Mon, Feb 1, 2016 at 9:15 AM, Utkarsh Tiwari <iamutkarshtiwari at gmail.com>
> wrote:
>
>> How should the Icon for "Download Button" look like? Could you please
>> provide me some artwork for reference. ?
>>
>> On 2/1/16, Utkarsh Tiwari <iamutkarshtiwari at gmail.com> wrote:
>> > Omg! I have been looking all over internet on how to integrate a
>> > Gtk.ProgressBar into Gtk.Toolbutton and I even tried using
>> > Gtk.CssProvider styler to scale down the progressbar to a button :D
>> > Now that(ProgressIcon.py) sounds really cool!
>> >
>> > Thank you :) You made my work a bit easier ;)
>> >
>> > On 2/1/16, James Cameron <quozl at laptop.org> wrote:
>> >> ProgressBar from Gtk is overkill, we already have a ProgressIcon
>> >> in Sugar.
>> >>
>> >> In sugar-toolkit-gtk3:
>> >>
>> >> Look at progressicon.py, you will see it does not use a ProgressBar,
>> >> but has a __draw_cb method connected to the "draw" signal.
>> >>
>> >> Look at toolbutton.py, you will see it wraps ToolButton do_draw
>> >> method.
>> >>
>> >> On Mon, Feb 01, 2016 at 12:10:25AM +0530, Utkarsh Tiwari wrote:
>> >>> "The button to be a blend of ProgressIcon and ToolButton". How to
>> >>> convert a Gtk.ProgressBar to a Browse ToolButton?
>> >>>
>> >>> On 1/27/16, James Cameron <quozl at laptop.org> wrote:
>> >>> > No.
>> >>> >
>> >>> > The position marked by your cursor seems to be inside the URL entry
>> >>> > box.
>> >>> >
>> >>> > I said between the URL entry box and the back button.
>> >>> >
>> >>> > Review the Browse source code that defines these objects.
>> >>> >
>> >>> > On Wed, Jan 27, 2016 at 11:39:03AM +0530, Utkarsh Tiwari wrote:
>> >>> >> Is this the exact expected location you were talking about the
>> >>> >> 'download button' as shown in the screenshot below?
>> >>> >>
>> >>> >> http://imgur.com/T0hirTZ
>> >>> >>
>> >>> >> On 1/27/16, James Cameron <quozl at laptop.org> wrote:
>> >>> >> > Thanks for working on this.
>> >>> >> >
>> >>> >> > Our Sugar human interface guidelines and existing code base
>> >>> >> > don't
>> >>> >> > have
>> >>> >> > decorated floating windows or window management. Your proposal
>> >>> >> > would
>> >>> >> > not scale to multiple downloads.
>> >>> >> >
>> >>> >> > You might ask for design suggestions on this mailing list.
>> >>> >> >
>> >>> >> > I've resisted making design suggestions on this problem because
>> >>> >> > I
>> >>> >> > don't want to constrain the good ideas that may come up.
>> >>> >> >
>> >>> >> > To get the design conversation started ...
>> >>> >> >
>> >>> >> > When the first download begins, show a button at the top between
>> >>> >> > the
>> >>> >> > URL entry box and the back button.
>> >>> >> >
>> >>> >> > The button to be a blend of ProgressIcon and ToolButton, with
>> >>> >> > the
>> >>> >> > progress fill to show average progress of all downloads.
>> >>> >> >
>> >>> >> > When the button is pressed a download tab is to be shown in the
>> >>> >> > canvas, which lists downloads and progress.
>> >>> >> >
>> >>> >> > The download tab can be closed like any other tab.
>> >>> >> >
>> >>> >> > The button is to be be hidden before any downloads are started,
>> >>> >> > shown
>> >>> >> > on start of first download, and only hidden if the download tab
>> >>> >> > is
>> >>> >> > closed when there are no downloads still active.
>> >>> >> >
>> >>> >> > On Tue, Jan 26, 2016 at 06:08:32PM +0530, Utkarsh Tiwari wrote:
>> >>> >> >> Hi,
>> >>> >> >>
>> >>> >> >> I am trying to integrate the "Download ProgressBar" in the
>> >>> >> >> download
>> >>> >> >> manager. Here is the screenshot of the prototype on which I am
>> >>> >> >> currently
>> >>> >> >> working -> [1]http://imgur.com/WUJL8eX
>> >>> >> >>
>> >>> >> >> Since the download progress bar is popping over the browse
>> >>> >> >> activity,
>> >>> >> >> is
>> >>> >> >> it
>> >>> >> >> feasible?
>> >>> >> >>
>> >>> >> >> regards,
>> >>> >> >> Utkarsh Tiwari
>> >>> >> >>
>> >>> >> >> References:
>> >>> >> >>
>> >>> >> >> [1] http://imgur.com/WUJL8eX
>> >>> >> >
>> >>> >> >> _______________________________________________
>> >>> >> >> Sugar-devel mailing list
>> >>> >> >> Sugar-devel at lists.sugarlabs.org
>> >>> >> >> http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>> >> >
>> >>> >> >
>> >>> >> > --
>> >>> >> > James Cameron
>> >>> >> > http://quozl.netrek.org/
>> >>> >> > _______________________________________________
>> >>> >> > Sugar-devel mailing list
>> >>> >> > Sugar-devel at lists.sugarlabs.org
>> >>> >> > http://lists.sugarlabs.org/listinfo/sugar-devel
>> >>> >> >
>> >>> >
>> >>> > --
>> >>> > James Cameron
>> >>> > http://quozl.netrek.org/
>> >>> >
>> >>
>> >> --
>> >> James Cameron
>> >> http://quozl.netrek.org/
>> >>
>> >
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
More information about the Sugar-devel
mailing list