Re: [Development] Fixing file dialog performance on Windows

2013-03-22 Thread Sérgio Martins
On Thursday, March 21, 2013 05:05:00 Shaw Andy wrote: > > The file dialog takes up to 30 seconds to be usable if we're listing > > files on a USB or remote share with 10k files. > > > > > > The bottlenecks are QFileIconProvider::icon(const QFileInfo &info) and > > QFileInfo::isSymLink(). > > > >

Re: [Development] Fixing file dialog performance on Windows

2013-03-20 Thread Shaw Andy
> The file dialog takes up to 30 seconds to be usable if we're listing > files on a USB or remote share with 10k files. > > > The bottlenecks are QFileIconProvider::icon(const QFileInfo &info) and > QFileInfo::isSymLink(). > > > I solved the icon problem by looking them up in the registry, by

[Development] Fixing file dialog performance on Windows

2013-03-20 Thread Sérgio Martins
Hi, The file dialog takes up to 30 seconds to be usable if we're listing files on a USB or remote share with 10k files. The bottlenecks are QFileIconProvider::icon(const QFileInfo &info) and QFileInfo::isSymLink(). I solved the icon problem by looking them up in the registry, by extension, an