Konqueror Mimetype Scanning

Allan Sandfeld Jensen kde at carewolf.com
Tue Apr 6 17:54:28 BST 2004


On Tuesday 06 April 2004 17:03, Dik Takken wrote:
> On Tue, 6 Apr 2004, David Faure wrote:
> > On Tuesday 06 April 2004 16:48, Dik Takken wrote:
> > > Hi all,
> > >
> > > When I browse files using Konqueror, Konqueror seems to cause a lot of
> > > disk i/o everytime I open another directory. Is this caused by the
> > > mimetype scanning?
> > >
> > > If this is the case, we could gain a lot of speed by using the same
> > > trick as Gnome 2.6 does. Gnome 2.6 delays accurate mimetype scanning
> > > until it is really important to know what type a file is, for example
> > > when the user opens the file. Untill then, it only looks at the
> > > filename extension. This way, none of the files need to be
> > > opened/closed while browsing.
> >
> > Konqueror does exactly that too (and has been doing it since KDE-3.0 or
> > maybe even before).
>
> How can Konqueror still display the correct filetype icon when the file
> extension is wrong? It needs to do a full mimetype scan to do that.
>
Konqueror only delays the accurate mimetype scan until it has time. That is 
until immediately after the folder has been fully opened. At least in theory! 
I have a suspicion that something makes it do it too early, accounting for 
the slow folder-opening.

`Allan




More information about the kfm-devel mailing list