[Installit-dev] Download wizard problems

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Mar 18 22:01:55 CET 2006


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
> downloads.

Yep, way better. ;-)

> - Jannis

Benedikt



More information about the Installit-dev mailing list