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

QFileDialog::getOpenFileContent does not call lambda on Desktop when dialog is cancelled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0
    • None
    • Linux/X11

    Description

      When used with Wasm QFileDialog::getOpenFileContent() will call the lambda with an empty filename if the user does not choose a file, when testing this on the desktop the lambda is not called at all, preventing disabling the button while that is in progress for example.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes