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

QFileDialog::DontConfirmOverwrite option does not work when OS X App is sandboxed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Won't Do
    • Affects Version/s: 5.3.0, 5.12.5
    • Fix Version/s: 6.0.1, 6.1.0 Alpha
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      OS X 10.9.3
    • Platform/s:
      macOS
    • Commits:
      9cd3ff2bdea0d5a009a8284288bbbdaaaec817be (qt/qtbase/dev) 85fd5b70d6af42e5db14a17a21f56770b3f448b7 (qt/qtbase/6.0) b64e9fc21fca02e929d98568c1529f0fe3214842 (qt/tqtc-qtbase/tqtc/lts-5.15)

      Description

      A "save as" QFileDialog with option QFileDialog::DontConfirmOverwrite set to true displays the overwrite query when App is sandboxed.
      If the App is not sandboxed it work like expected.

      QFileDialog fd( this, tr("Save as"), file_name, "(*.txt)" );
      fd.setAcceptMode( QFileDialog::AcceptSave );
      fd.setFileMode( QFileDialog::AnyFile );
      fd.setViewMode( QFileDialog::List );
      fd.setOption( QFileDialog::DontConfirmOverwrite, true );
      int rc = fd.exec();

        Attachments

        For Gerrit Dashboard: QTBUG-39791
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            axels Axel Schmidt
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews