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

State of the "Create new folder"-Button in QFileDialog

    XMLWordPrintable

Details

    Description

      When using QFileDialog::getOpenFileName() and navigating to a directory without write permissions, then the state of the "Create new folder" button is still enabled. When pressing the button, nothing happens. The button should be disabled in this case.

      Reproduced on Windows using the standarddialogs example from qtdir/examples/dialogs.
      Steps to reproduce:

      • Use a user without admin rights
      • Uncheck the "use native dialog" checkbox
      • Select getOpenFileName() button
      • Navigate to a directory where you have no write permissions
      • The "Create new folder" button is enabled and can be clicked, but nothing happens when clicking it. It should have been disabled.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes