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

QFileInfo::exists takes to long

    XMLWordPrintable

Details

    • Task
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.5, 6.2
    • Core: I/O
    • None
    • Windows

    Description

      For certain input QFileInfo::exists takes more than a minute to return on windows.
      Reproducible with:

      #include <QFileInfo>
      
      int main()
      {
          QFileInfo fi("//www.orf.at/news\\\\");
      
          return fi.exists();
      }
      

      It seems it get stuck in the GetFileAttributesEx inside QFileSystemEngine::fillMetaData.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              davschul David Schulz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes