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

OS X QFileDialog::getSaveFileName doesn't allow selection of file with extensions like .tar.gz

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.5, 5.3.0 Beta1, 5.12
    • Fix Version/s: 5.3.1, 5.4.0
    • Component/s: GUI: Workspace
    • Labels:
      None
    • Environment:
      OS X 10.8.5, 10.9.2
    • Platform/s:
      macOS

      Description

      When using QFileDialog::getSaveFileName with a filter looking like:

      "Archives (*.tar.gz *.zip")"

      The native dialog doesn't allow to select the tar.gz files. AFAIK it's a limitation of NSSavePanel that doesn't support double extensions.

      Should we workaround that and build the list using only the last extension so in this case "gz" and "zip" and document the behavior ?
      Or just update the documentation and explain the limitation on OS X ?

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                tpochep Timur Pocheptsov
                Reporter:
                sgaist Samuel Gaist
              • Votes:
                10 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes