Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49440

Windows: (widgets-based) QFileDialog::getOpenFileNames problem with NAS

XMLWordPrintable

      I've just stumbled on this:

      QStringList list = QFileDialog::getOpenFileNames(this, tr("Open runs"), m_openPath,
                                                       QString("Runs info (*.bin)"), 0,
                                                       QFileDialog::DontUseNativeDialog);

      When it is executed, on the left part of the window I get 3 "default locations": Desktop, MaX (this is my Username in Windows) and Documents. If I click on Desktop, it hangs (application becomes unresponsive, have to force quit).

      The problem comes from the fact I have a NAS that is username/password protected (and a link to it on my Desktop). If I'm already logged on the NAS, then all works fine. If not, clicking on Dekstop from the dialog makes it hang forever.

      The native dialog does not have the problem.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            hornetmax Massimiliano Maini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes