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

QFileDialog - when resolveSymLinks is set, selecting a link return the link itself and not the target

    XMLWordPrintable

Details

    Description

      Included a test case to test with for example the following folder:
      tmp/
      ├─originals/
      │ │ original_text.txt
      │ │
      │ └─original_folder/

      └─shortcuts/

      original_folder - shortcut.lnk
      original_text.txt - shortcut.lnk

      When resolve symlinks is enabled, select "original_text.txt - shortcut.lnk."

      The line edit of the QFileDialog shows the target file itself "original_text.txt"

      When you open the file, the file return is the link itself, not the target as we should expect.

      Attachments

        1. main.cpp
          3 kB
          Nokia Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mmutz Marc Mutz
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes