[PATCH] Speed up iconView's setIcons 2x...

David Faure david at mandrakesoft.com
Fri Aug 23 18:40:42 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 23 August 2002 19:29, Koos Vriezen wrote:
> On Fri, 23 Aug 2002, David Faure wrote:
> 
> > > The freezing is gone, but the re-entering flickering not. After looking
> > > very carefully at the first icon, I noticed that it's first the file
> > > you'll see doing a 'ls -f' on that dir, after the repaint it's sorted.
> > > Could it be, that the cache delivers the entries unsorted?
> >
> > For sure, since KDirListerCache doesn't know about the sorting used in the view.
> > One could even have two views of the same directory, with different sorting...
> 
> Ok, shouldn't the iconview sort it first before painting?

Since the items are all inserted in a single loop, I thought it would, yes...
Needs investigating.

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9ZnOb72KcVAmwbhARAnYKAJ92M/kZv5FreYGl5ntYGD+ZGzQUXACcDOFe
Ty1btn57F69fWBz6/L8nHm8=
=H+vN
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list