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

QFileInfo::exists takes to long

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes