Bug#380208: fslint: some progress indication would be fine

2006-07-28 Thread Eike Sauer
Package: fslint
Version: 2.16-1
Severity: wishlist

This program really should have some progress indication
when searching, like a progress bar or filling (and showing) 
the list of finds or both. I had to ask 'top' if the app is
still alive... :o)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (150, 'testing'), (100, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages fslint depends on:
ii  python2.3.5-11   An interactive high-level object-o
ii  python-glade2 2.8.6-3GTK+ bindings: Glade support
ii  python-gtk2   2.8.6-3Python bindings for the GTK+ widge

fslint recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380208: fslint: some progress indication would be fine

2006-07-28 Thread Eike Sauer
Am Freitag, 28. Juli 2006 15:30 schrieb Pádraig Brady:
 Well a % complete would be difficult/impossible,
 as we can't easily determine how much work we have to do.
[...]
 Would a spinner like web browsers do be sufficient?

Of course, a percentage would be great (if it doesn't slow
down things too much), but something moving would at 
least tell the user that there's still something going on. :o)

In many cases an output to the results list (while still processing)
could be interesting as well, I guess.

Thanks for considering,
Eike


pgpCJVln7LGKY.pgp
Description: PGP signature


Bug#380208: fslint: some progress indication would be fine

2006-07-28 Thread Pádraig Brady
Eike Sauer wrote:
 Package: fslint
 Version: 2.16-1
 Severity: wishlist
 
 This program really should have some progress indication
 when searching, like a progress bar or filling (and showing) 
 the list of finds or both. I had to ask 'top' if the app is
 still alive... :o)

Well a % complete would be difficult/impossible,
as we can't easily determine how much work we have to do.

I guess I could look at providing output of
the number of files processed or something like that,
but that would be useless info though.

Would a spinner like web browsers do be sufficient?

I guess I could add a progress bar that just
moves forward and back to indicate the app is working,
and if any (future) functionality allows % complete feedback,
that can displayed using the same widget.

Ok I'll work on that for 2.17

cheers,
Pádraig.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#380208: fslint: some progress indication would be fine

2006-07-28 Thread Rogério Brito
Hi, Pádraig and Eike.

On Jul 28 2006, Pádraig Brady wrote:
 Eike Sauer wrote:
  This program really should have some progress indication when
  searching, like a progress bar or filling (and showing) the list of
  finds or both. I had to ask 'top' if the app is still alive... :o)
 
 Well a % complete would be difficult/impossible, as we can't easily
 determine how much work we have to do.

Well, I see that you fiddle with find (looked via top/ps) to see which
files have the same content as others.

I don't know exactly how you feed those to md5sum, but one thing that
would give the user an *approximate* percentage idea would be to see how
many files have already been md5sum'ed.

I don't know (internally---I'm too lazy to read the code right now) how
you decide which ones have the same contents (perhaps using a
hash/dictionary keyed by the md5sum of the file?) but wouldn't this
work?

Or, at least, something more or less like what I described above. I'm
just brainstorming here... :-)


Anyway, thank you very much for your efforts, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]