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

QtQuick DefaultFileDialog.qml open/save button opening first folder instead of selected item

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.3, 5.7.2
    • 5.7.0
    • Quick: Dialogs
    • None
    • Ubuntu 14.04 & 16.04 - Gnome, Unity & KDE
    • eb2df59fb203668734d652808c74b0504864cc1e

    Description

      When using the DefaultFileDialog.qml the open/save/etc. button does not open the selected file if there is a folder at the top of the list.

      The dialog opens properly, but when a file is selected (that is not the first file on the list, so imagine:

      FolderFoo
      FolderFaa
      FileToOpen
      FileFoo

      Then when clicking the open(or save) button the folder "FolderFoo" is opened in the dialog instead of calling the acceptSelection() function.
      This happens for as long as it is not the first file in the list (change sorting for example to get it to the top) or that there are no subfolders left to enter.

      Attached is a very simple project opening a FileDialog and having this effect.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            martinair Martin Rijntjes
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes