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

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1, 5.4.0
    • 4.8.5, 5.3.0 Beta1, 5.12, 5.15
    • GUI: Workspace
    • None
    • OS X 10.8.5, 10.9.2
    • macOS
    • 5d9d3ff3269f92366b022e17485fa4dd98f5ba95 (qt/qtbase/5.15)

    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

          Activity

            People

              vestbo Tor Arne Vestbø
              sgaist Samuel Gaist
              Votes:
              10 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: