Shared progress dialog in Thunar

View: New views
9 Messages — Rating Filter:   Alert me  

Shared progress dialog in Thunar

by Jannis Pohlmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey guys,

I've been hacking on a shared progress dialog today which displays all
the copy/move progress information in a single dialog instead of many.
It also shows a status bar icon for as long as there are file
operations running.

Here's what it looks like:
http://lunar-linux.org/~jannis/screenshots/xfce/thunar-progress-dialog-20090912-1.png

Now the individual job titles could be a little more descriptive. I
could imagine changing that to something like

   Copying files from "Source folder" to "Target folder"
   Moving files from "Source folder" to "Target folder"
   Deleting files from "Source folder"

And so on. Ellipsizing these titles could ensure that the dialog
doesn't grow beyond the acceptable.

I wonder what you guys think about this feature though. It's not
committed to master yet, because I'd like to get some feedback. Do you
like it, do you not like it?

  - Jannis


_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

signature.asc (204 bytes) Download Attachment

Re: Shared progress dialog in Thunar

by Nick Schermer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I wonder what you guys think about this feature though. It's not
> committed to master yet, because I'd like to get some feedback. Do you
> like it, do you not like it?

I would personally implement this in list model, so it scrolls nicely.
Another (big, but difficult) improvement would be a pause button
and/or maybe a way (checkbox) to make 1 transfter at a time, this
would speedup multiple copies to a usb device for example, but maybe
that is a bit overly complicated.

Anyway, sound like a branch to me ;-).

Nick
_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

Re: Shared progress dialog in Thunar

by Jannis Pohlmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 12 Sep 2009 10:42:18 +0200
Nick Schermer <nickschermer@...> wrote:

> > I wonder what you guys think about this feature though. It's not
> > committed to master yet, because I'd like to get some feedback. Do
> > you like it, do you not like it?
>
> I would personally implement this in list model, so it scrolls nicely.

Yeah. I did that first but it looked like crap (which I guess is
solvable). It also introduces new problems like how and when to resize
and where to scroll when raising the dialog (when a progress view needs
attention).

I guess resizing could be rather simple by putting a scrolled window
around the views as soon as there are more than three of them. After
that, no forther resizing. Once there are less than four views, we
shrink/grow the window with each view. Something like that. I'll test
it later.

> Another (big, but difficult) improvement would be a pause button
> and/or maybe a way (checkbox) to make 1 transfter at a time, this
> would speedup multiple copies to a usb device for example, but maybe
> that is a bit overly complicated.

Yeah, although I'd say that this is a different story and can be looked
at independently.

> Anyway, sound like a branch to me ;-).

I have the code almost ready. I'll do some testing with scrollbars
tonight and then commit it directly to master, I guess. For the pausing
we could open a new branch but that has lower priority IMHO. I just
needed one more feature to have more to write about in my thesis. ;)

  - Jannis


_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

signature.asc (204 bytes) Download Attachment

Re: Shared progress dialog in Thunar

by Jannis Pohlmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 12 Sep 2009 13:48:49 +0200
Jannis Pohlmann <jannis@...> wrote:

> On Sat, 12 Sep 2009 10:42:18 +0200
> Nick Schermer <nickschermer@...> wrote:
>
> > > I wonder what you guys think about this feature though. It's not
> > > committed to master yet, because I'd like to get some feedback. Do
> > > you like it, do you not like it?
> >
> > I would personally implement this in list model, so it scrolls
> > nicely.
>
> Yeah. I did that first but it looked like crap (which I guess is
> solvable). It also introduces new problems like how and when to resize
> and where to scroll when raising the dialog (when a progress view
> needs attention).
>
> I guess resizing could be rather simple by putting a scrolled window
> around the views as soon as there are more than three of them. After
> that, no forther resizing. Once there are less than four views, we
> shrink/grow the window with each view. Something like that. I'll test
> it later.
Ok, a version with this implemened is now available in the
'shared-progress-dialog' branch. Please give it a try.

Can anyone please run Thunar 1.0.x and check if their X CPU usage goes
up to ~50% with ThunarVFS? It might be that my GIO job implementations
emit more 'percent's signals and thus, causes a higher CPU usage.
 
> > Another (big, but difficult) improvement would be a pause button
> > and/or maybe a way (checkbox) to make 1 transfter at a time, this
> > would speedup multiple copies to a usb device for example, but maybe
> > that is a bit overly complicated.
>
> Yeah, although I'd say that this is a different story and can be
> looked at independently.
>
> > Anyway, sound like a branch to me ;-).

I created a branch now. Please give it a spin.

  - Jannis


_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

signature.asc (204 bytes) Download Attachment

Re: Shared progress dialog in Thunar

by Pablo Hdez-M. Saiz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I love it !
Thank you.

On Sat, Sep 12, 2009 at 3:57 PM, Jannis Pohlmann <jannis@...> wrote:
On Sat, 12 Sep 2009 13:48:49 +0200
Jannis Pohlmann <jannis@...> wrote:

> On Sat, 12 Sep 2009 10:42:18 +0200
> Nick Schermer <nickschermer@...> wrote:
>
> > > I wonder what you guys think about this feature though. It's not
> > > committed to master yet, because I'd like to get some feedback. Do
> > > you like it, do you not like it?
> >
> > I would personally implement this in list model, so it scrolls
> > nicely.
>
> Yeah. I did that first but it looked like crap (which I guess is
> solvable). It also introduces new problems like how and when to resize
> and where to scroll when raising the dialog (when a progress view
> needs attention).
>
> I guess resizing could be rather simple by putting a scrolled window
> around the views as soon as there are more than three of them. After
> that, no forther resizing. Once there are less than four views, we
> shrink/grow the window with each view. Something like that. I'll test
> it later.

Ok, a version with this implemened is now available in the
'shared-progress-dialog' branch. Please give it a try.

Can anyone please run Thunar 1.0.x and check if their X CPU usage goes
up to ~50% with ThunarVFS? It might be that my GIO job implementations
emit more 'percent's signals and thus, causes a higher CPU usage.

> > Another (big, but difficult) improvement would be a pause button
> > and/or maybe a way (checkbox) to make 1 transfter at a time, this
> > would speedup multiple copies to a usb device for example, but maybe
> > that is a bit overly complicated.
>
> Yeah, although I'd say that this is a different story and can be
> looked at independently.
>
> > Anyway, sound like a branch to me ;-).

I created a branch now. Please give it a spin.

 - Jannis

_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev



_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

Re: Shared progress dialog in Thunar

by Grigory Tuboltsev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Xfce is often used on notebooks so saving some screen space could be a
good idea:  (http://i32.tinypic.com/30d9xs9.png)

I am sure i could make it even more compact and improve general
usability, should i post other mocups ?

Unfortunately I speak no C or C++ so I can only share some usability
thoughts.

Rgrds,
Grigory Tuboltsev


Jannis Pohlmann wrote:

> Hey guys,
>
> I've been hacking on a shared progress dialog today which displays all
> the copy/move progress information in a single dialog instead of many.
> It also shows a status bar icon for as long as there are file
> operations running.
>
> Here's what it looks like:
> http://lunar-linux.org/~jannis/screenshots/xfce/thunar-progress-dialog-20090912-1.png
>
> Now the individual job titles could be a little more descriptive. I
> could imagine changing that to something like
>
>    Copying files from "Source folder" to "Target folder"
>    Moving files from "Source folder" to "Target folder"
>    Deleting files from "Source folder"
>
> And so on. Ellipsizing these titles could ensure that the dialog
> doesn't grow beyond the acceptable.
>
> I wonder what you guys think about this feature though. It's not
> committed to master yet, because I'd like to get some feedback. Do you
> like it, do you not like it?
>
>   - Jannis
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev@...
> http://foo-projects.org/mailman/listinfo/thunar-dev
>  

_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

Re: Shared progress dialog in Thunar

by Mathias Brodala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Jannis Pohlmann, 12.09.2009 02:58:
> Here's what it looks like:
> http://lunar-linux.org/~jannis/screenshots/xfce/thunar-progress-dialog-20090912-1.png

Please consider wrapping the GtkProgressBar’s with GtkAlignment’s to
give them a bit padding on top and bottom. This way they look less fat.


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqugzUACgkQYfUFJ3ewsJh2uACePb2Zb1t9dAI+yzqjNqxBZcML
oQEAoJEAycNZ0fIBc5GP9fl8yIpuL+Pl
=csgv
-----END PGP SIGNATURE-----
_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

Re: Shared progress dialog in Thunar

by Jannis Pohlmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 14 Sep 2009 21:44:08 +0400
Grigory Tuboltsev <gtubolcev@...> wrote:

> Xfce is often used on notebooks so saving some screen space could be
> a good idea:  (http://i32.tinypic.com/30d9xs9.png)

Saving space is good, yes.

> I am sure i could make it even more compact and improve general
> usability, should i post other mocups ?
>
> Unfortunately I speak no C or C++ so I can only share some usability
> thoughts.

The mockup you posted above is not really usable. A bit more spacing
and text helps users in finding a certain operation again later. I've
(more or less) decided to implement this mockup now:

http://en.zimagez.com/zimage/screenshot-09142009-030342pm.php

It requires less vertical space and we can probably display 5 jobs
without scrollbars on a netbook screen. I'd say that's pretty good.

> Rgrds,
> Grigory Tuboltsev
>
>
> Jannis Pohlmann wrote:
> > Hey guys,
> >
> > I've been hacking on a shared progress dialog today which displays
> > all the copy/move progress information in a single dialog instead
> > of many. It also shows a status bar icon for as long as there are
> > file operations running.
> >
> > Here's what it looks like:
> > http://lunar-linux.org/~jannis/screenshots/xfce/thunar-progress-dialog-20090912-1.png
> >
> > Now the individual job titles could be a little more descriptive. I
> > could imagine changing that to something like
> >
> >    Copying files from "Source folder" to "Target folder"
> >    Moving files from "Source folder" to "Target folder"
> >    Deleting files from "Source folder"
> >
> > And so on. Ellipsizing these titles could ensure that the dialog
> > doesn't grow beyond the acceptable.
> >
> > I wonder what you guys think about this feature though. It's not
> > committed to master yet, because I'd like to get some feedback. Do
> > you like it, do you not like it?
> >
> >   - Jannis
> >  
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Thunar-dev mailing list
> > Thunar-dev@...
> > http://foo-projects.org/mailman/listinfo/thunar-dev
> >  
>
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev@...
> http://foo-projects.org/mailman/listinfo/thunar-dev


_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev

signature.asc (204 bytes) Download Attachment

Re: Shared progress dialog in Thunar

by Brian J. Tarricone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 09/14/2009 10:53 AM, Mathias Brodala wrote:
> Hi.
>
> Jannis Pohlmann, 12.09.2009 02:58:
>> Here's what it looks like:
>> http://lunar-linux.org/~jannis/screenshots/xfce/thunar-progress-dialog-20090912-1.png
>
> Please consider wrapping the GtkProgressBar’s with GtkAlignment’s to
> give them a bit padding on top and bottom. This way they look less fat.

Mmm, good idea.  It looks weird when you have two widgets in a GtkHBox
that have different natural heights.

        -brian
_______________________________________________
Thunar-dev mailing list
Thunar-dev@...
http://foo-projects.org/mailman/listinfo/thunar-dev