- 
    
Bug
 - 
    Resolution: Out of scope
 - 
    
P3: Somewhat important
 - 
    None
 - 
    5.1.0
 - 
    None
 - 
    Windows XP SP3
 
- 
        Delayed widget creation, 37ca2224eca671200a2710f57f970d2993e62aa5 (5.2. beta1)
 
...When invoked in a slot.
Every time getOpenFileName dialog is opened in a folder that contains many folders/files, the application hangs for about 10 seconds.
Reproducible by
#include <QApplication> #include <QTimer> #include <QFileDialog> class Open : public QObject { Q_OBJECT public: Open() { QTimer::singleShot(0, this, SLOT(open())); } public slots: void open() { QFileDialog::getOpenFileName(0, "Hangs", qgetenv("WINDIR")); } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); QFileDialog::getOpenFileName(0, "Works", qgetenv("WINDIR")); Open obj; return app.exec(); } #include "main.moc"
Doesn't happen with Qt4
- relates to
 - 
                    
QTBUG-45950 QFileDialog: unable to completely ignore default QIconProvider
-         
 - Reported
 
 -         
 - 
                    
QTBUG-6039 QFileDialog slowdown with unreachable mapped network drive
-         
 - Closed
 
 -         
 - 
                    
QTBUG-99178 QFileSystemModel should have an option to disable icon loading; crashes if the icon provider is null
-         
 - Closed
 
 -         
 - 
                    
QTBUG-34330 Regression: QFileDialog::getSaveFileName with a folder crash application on close
-         
 - Closed
 
 -         
 - 
                    
QTBUG-34446 REG (from 5.2 Alpha): QFileDialog::getSaveFileName() does not open the file dialog in the specified directory when using native dialogs
-         
 - Closed
 
 -         
 - 
                    
QTBUG-63872 QFileDialog: no way to set icon provider before creating widget
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTBUG-33039 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 63448,6 | QFileDialog: don't create widgets if the platform dialog will be used | dev | qt/qtbase | Status: ABANDONED | -1 | 0 | 
| 67510,14 | QFileDialog: don't create widgets if the platform dialog will be used | stable | qt/qtbase | Status: MERGED | +2 | 0 |