[PATCH] Multiple redirections and KDirListerCache

Joseph Wenninger jowenn at kde.org
Mon Sep 2 13:40:58 BST 2002


Hi

On Monday 02 September 2002 10:21, Hamish Rodda wrote:
.....

> >
> > Hmmmm.... why didn't a stat() happen in the first place (before starting
> > to list the dir) ? If a stat() happens first, then the redirection can
> > say "it's a file". After we start listing, it's too late.
>
> I thought this strange too.  KFileDialog is the one requesting the list()
> without stat() - I guess this is because the request is only triggered by a
> URL with a trailing slash.  I don't know what to do with it really - during
> a list(), once a redirection is called, there isn't a stat() called anyway.
>
> Cheers,
>
> Hamish.

I noticed too, that the file dialog behaves wiered concerning redirections, 
while developing the devices:/ slave. It behaves much different than eg a 
normal konqueror icon view.

A different thing:
Did you try the webdav slave in konqueror with the tree view activated ? It 
would be interesting if you get the same problem as I got with the devices:/ 
slave. If you expand a directory (with the plus sign) and show a redirected 
directory, than hit onto the refresh button, now the directory appears twice. 
the first one with the url before redirection, and a second time with the 
already redirected url.

Kind regards
Joseph Wenninger




More information about the kfm-devel mailing list