Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
5.3.1, 5.5.0 Beta
-
Windows 7, Visual Studio 2012, Qt 5.3.1 custom build
-
18df9b7309a64e6d2c864c140664523e60ba6e7d (qt/tqtc-qtbase/5.15)
Description
When explicitely opening a QFileDialog with Non-Native dialogs, like:
{ QFileDialog *dialog = new QFileDialog(); dialog->setOption(QFileDialog::Option::DontUseNativeDialog); dialog->setOption(QFileDialog::Option::DontUseCustomDirectoryIcons); // <!-- does not change the behavior dialog->exec(); delete dialog; }
the Widget will create its own Dialog, not using the Windows-Standard controls.
Now, when changing to a directory with a high amount of files (and probably slow connection speed like mapped network drives with 50.000+ files), the Application UI blocks completely while processing all of these files.
Sometimes the user does not want to look at these files, he probably wants to specifiy the filename in the inputline manually. Here, the dialog should scan the files in the background, remaining usable to the user. Even if there would be a possibility to abort the dialog, the filesystem still gets analyzed in the background.
Attachments
Issue Links
- duplicates
-
QTBUG-6039 QFileDialog slowdown with unreachable mapped network drive
- Closed
-
QTBUG-30902 QFileSystemModel sorting extremely slow
- Closed
- relates to
-
QTBUG-31086 QFileSystemModel pauses, delays or slows down for some seconds when reading phantom floppy drive
- Closed
For Gerrit Dashboard: QTBUG-41373 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
308942,10 | QFileSystemModel: make sure files are stat'ed in the worker thread | dev | qt/qtbase | Status: MERGED | +2 | 0 |
308952,1 | QFileInfo: allow QFileInfoGatherer to force-read all attributes | dev | qt/qtbase | Status: ABANDONED | +1 | 0 |
308986,3 | QFileInfo: make stat method public | dev | qt/qtbase | Status: MERGED | +2 | 0 |
308987,3 | QFileSystemModel: use the QFileInfo from the model as much as possible | dev | qt/qtbase | Status: MERGED | +2 | 0 |
309060,3 | QFileSystemModel: make sure files are stat'ed in the worker thread | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |