Slows starting of downloading with KIO
Nicolas Goutte
nicolasg at snafu.de
Tue Dec 20 11:11:22 GMT 2005
On Tuesday 20 December 2005 12:02, David Faure wrote:
> On Tuesday 20 December 2005 11:26, Nicolas Goutte wrote:
> > On Monday 19 December 2005 22:13, Martijn Klingens wrote:
> > > 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.
> >
> > And what if the list is not in Unix format? I know that it is currently
> > barely supported, but that is something that must be taken care in KDE4.
>
> Doesn't matter; we need details for a folder listing anyway (think detailed
> list view), whichever way we get those details, so at copy time we could
> indeed reuse those details.
Ah, I see!
More information about the kde-core-devel
mailing list