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

QFileInfo::isDir() returns false for directories on mapped network paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      QFileInfo::isDir() returns false if the directory lies on a mapped network drive like U:\myname\temp.

      But it works correctly on local drives (e.g.: C:\temp) or absolute network drives (e.g.: \\myserver\myname\temp).

      Example:

      QFileInfo fi("U:\\myname\\temp");
      if (fi.isDir())
      {
      // --> fi.isDir() returns false, though temp is a directory
      ...
      }

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            tneuhofer Thomas Neuhofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes