[PyKDE] Back to the long delay caused when callingQDialog.getOpenFileNames()

Andy Anderson Andy.Anderson at mscsoftware.com
Mon Mar 5 16:45:38 GMT 2007

This is probably a generic Qt problem, not because of PyQt.

If you can, create an equivalent C++ Qt test. If you see the same delay,
then look at the Qt mailing lists, support, etc.

You can also test to see if the delay changes with the number of files
shown in the dialog. If the delay increases with the number of files,
it's almost certainly not caused by anything at the Python or PyQt

FWIW, I remember some versions of Qt3 had performance problems in the
file dialogs due to networked drives and/or networked user accounts.
IIRC, some Windows file operations, like checking user read/write
permission, are slow in some cases. I think the Qt versions of the file
dialogs checked file attributes for each file in the dialog. You might
be seeing something like this.

Andy Anderson

-----Original Message-----
From: pykde-bounces at mats.imk.fraunhofer.de
[mailto:pykde-bounces at mats.imk.fraunhofer.de] On Behalf Of Tony
Sent: Saturday, March 03, 2007 12:46 AM
To: pykde at mats.imk.fraunhofer.de
Subject: [PyKDE] Back to the long delay caused when

I've tried an experiment.

Using the Python extensions for Windows (build 210), on Python 2.5

I've called a routine which opens the same native W32 FileOpen dialog.

The dialog opens instantly when it is called, but I still see the 10
or so second delay when calling this though PyQt 4.2.2

Would another Windows user please verify this?

PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de

More information about the PyQt mailing list