[Installit-dev] Download wizard problems

Jannis Pohlmann info at sten-net.de
Sat Mar 18 21:51:09 CET 2006

On Sat, 18 Mar 2006 19:03:56 +0100
Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:

> Jannis Pohlmann wrote:
> >>A small usability issue: The progress labels are updated too often,
> >>which looks strange and causes too much system load (for which Pango
> >>is too blame, but still...).
> > 
> > Hmmm ... all I do is updating them after a block of data (2048
> > bytes) is read. I could either read larger blocks (e.g. 8192 or
> > 16384), which might be bad idea because the UI would freezy on
> > machines with a slow modem connection, or I could only display the
> > item name / filename and remove the percent and kB progress text. 
> > 
> > What do you think?
> I'd use a timer to update the displayed text (probably every
> 200ms-500ms).

Good idea. Done. CPU usage is now between 2 and 5 percent during

- Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/installit-dev/attachments/20060318/723c3815/attachment.pgp>

More information about the Installit-dev mailing list