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

QQuickDialog::accept() slot not executed when called from QML when making QPlatformDialogHelper::StandardButtons available via QML_EXTENDED_NAMESPACE

    XMLWordPrintable

Details

    • 4c62782c23 (qt/qtdeclarative/6.3) 4c62782c23 (qt/tqtc-qtdeclarative/6.3) 1c8d34e45947ff2a629335ee3f5acf29a57877fc 4c62782c23 (qt/qtdeclarative/6.3.2)

    Description

      With https://codereview.qt-project.org/c/qt/qtdeclarative/+/419725 applied, I get:

      FAIL!  : tst_controls::Basic::Dialog::test_accept() Compared values are not the same
         Actual   (): 0
         Expected (): 1
         Loc: [/Users/mitch/dev/qt-6.3/qtdeclarative/tests/auto/quickcontrols2/controls/data/tst_dialog.qml(120)]
      

      That patch is a cherry-pick of its dev counterpart, which passed CI with no issues. The 6.4 patch also merged fine.

      When debugging it, I can see that QQuickDialog::accept() is not executed despite being called from QML.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes