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

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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes