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

Windows: FileDialog 'folder:' doesn't open a remote source (UNC path)

XMLWordPrintable

    • 5624243ae5a59596948ace7e414c4311faac21ef (qt/qtquickcontrols/dev)

      FileDialog can't open a remote directory set in 'folder:'. Local directories open without problems. Appears when the app runs, it try to include a third '/' after 'file://' trying to access it as a local directory. If I try navigate into the remote server with FileDialog after it show up, I can access and retrieve the path from a file, for example. When FileDialog navigates to the root from a server, like \\server\, I get some errors in the output, but the shared directories show up.

      using 'import Qt.labs.platform' the remote folder show up. The output still grab some errors when accessing \\server\.

       

      main.qml

      Application Output.txt

      For \\host\path

      SHCreateItemFromParsingName(file://npp1/C/)) failed (The network path was not found.)
      

      for \\?\\host\path

       SHCreateItemFromParsingName(file:///npp1/C)) failed (An attempt was made to reference a token that does not exist.)
      

        1. Application Output.txt
          3 kB
          Gustavo Schenkel
        2. main.qml
          0.5 kB
          Gustavo Schenkel
        3. qtbug67932_diag.diff
          3 kB
          Friedemann Kleint
        4. qtbug67932.zip
          6 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            gbschenkel Gustavo Schenkel
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes