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

Windows: QFileDialog getOpenFileNames with DontResolveSymlinks does not resolve anymore drive shortcut lnk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.2.0
    • None
    • Windows 7

    Description

      Steps to reproduce:

      • Create a shortcut to a file, a folder and a drive on the desktop
      • Build qtbase\tests\manual\dialogs against Qt 4,5
      • Doubleclick the shortcuts QFileDialog::getSaveFileName() with QFileDialog::DontResolveSymLinks checked/unchecked
      • Qt 4 changes to folder, drive respectively and asks to overwrite the target file regardless of QFileDialog::DontResolveSymLinks
      • Qt 5 acts like Qt 4 with QFileDialog::DontResolveSymLinks==false. With QFileDialog::DontResolveSymLinks==true, it will change to the folder, but ask to overwrite the drive or the file link (.lnk file)

      Qt4 resolves drive letter and also folder shortcuts on desktop
      but with qt5 only folders are resolved

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            raulinno Raul Metsma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes