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

FileDialog's selectedFile is wrong when going up a directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • 6.2
    • Quick: Dialogs
    • None
    • cd62ba232a (qt/qtdeclarative/dev) cd62ba232a (qt/tqtc-qtdeclarative/dev)

    Description

      Steps to reproduce:

      1. Run code below
      2. Go into a directory
      3. Click the "up" arrow or press Alt+Up

      The expected behaviour is that the directory that you were previously in would be selected, but the actual behaviour is that a different directory is selected.

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Dialogs
      
      ApplicationWindow {
          id: root
          width: 800
          height: 600
          visible: true
      
          FileDialog {
              visible: true
              currentFolder: "file:///tmp"
          }
      }
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-106690
          # Subject Branch Project Status CR V

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: