[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Slows starting of downloading with KIO
From:       Martijn Klingens <klingens () kde ! org>
Date:       2005-12-19 21:13:56
Message-ID: 200512192213.57328.klingens () kde ! org
[Download RAW message or body]

On Monday 19 December 2005 20:36, Thiago Macieira wrote:
> Aaron J. Seigo wrote:
> >so perhaps we shouldn't start the progress meter until all the files are
> >statted, but start the download of the first file immediately?
>
> Which could clog the connection and make the statting slower, resulting in
> a dialog that took a long while to appear.
>
> Another option is to display the dialog soon and re-allocate progress bar
> area when more information becomes available. Of course, the drawback in
> that case is that the progress will decrease.

In Andras' particular case he's already looking at the file listing from 
kio-ftp. Since a directory listing in FTP is roughly similar to ls -l output 
we can already safely *KNOW* whether the targets of the links are files or 
folders and skip the statting altogether for the files.

-- 
Martijn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic