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

getSaveFileDialog() does not respect the proposed directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • 4.8.6
    • 4.8.2, 4.8.3
    • None
    • MAC,OSX,COCOA,Mountain Lion

    Description

      if getSaveFileDialog is called with proposed/default directory location it never opens the proposed directory rather always opens last visited directory.

      This behavior is limited to OSX 10.8.2

      This can be easily reproduced with following code:
      QString fileName = QFileDialog::getSaveFileName(0, QString("Save File"),
      "/usr/local/Trolltech/4.8.2-Test.png",
      QString("Images (*.png *.xpm *.jpg)"));

      Attachments

        1. dialogtest.zip
          266 kB
          Philipp
        2. mavericks.png
          102 kB
          Andy Brice
        3. mavericks.zip
          2 kB
          Andy Brice

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              qtcomsupport Qt Support
              Votes:
              5 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes