extragear/sdk/kdevplatform/plugins/projectmanagerview

David Nolden zwabel at googlemail.com
Sat Jan 16 13:39:55 UTC 2010


Am Freitag 15 Januar 2010 09:19:29 schrieb Andreas Pakulat:
> On 14.01.10 21:23:57, David Nolden wrote:
> > SVN commit 1074860 by zwabel:
> >
> > Determine the mimetypes used for sorting the project-tree without doing
> > any disk-access. This fixes the problem that opening folders for the
> > first time was horribly slow (including the "sync" button)
> 
> Makes sense, but we need to look out in which cases the
> mimetype-detection fails and what happens to the icon in that case
> (ideally there'd simply be no icon shown, but we might get something
> else). One might be able to trigger such a case with an xml document or
> something else where the mimetype spec defines data-lookup as necessary
> to determine the filetype.

In this specific case, the mimetypes are used purely for sorting. The 
determination of the icon happens somewhere else. But actually I feel that we 
also should use fast look-up there, is the project-tree feels better now, but 
still kind-of slow.

Greetings, David




More information about the KDevelop-devel mailing list