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

QQuickMessageDialog: Remove binding loop in non-native implementation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 6.3.0 Feature Freeze
    • Fix Version/s: 6.4
    • Component/s: Quick: Dialogs
    • Labels:
      None

      Description

      Currently, when creating a non-native (QtQuick.Dialogs 2) MessageDialog, the qml engine will warn about binding loops. Meaning that there has to be something not quite right about the current implementation.

      qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml:45:1: QML MessageDialog: Binding loop detected for property "implicitWidth"
      qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml:45:1: QML MessageDialog: Binding loop detected for property "implicitWidth"
      qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml:45:1: QML MessageDialog: Binding loop detected for property "implicitHeight"
      qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml:45:1: QML MessageDialog: Binding loop detected for property "implicitHeight"
      qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/MessageDialog.qml:45:1: QML MessageDialog: Binding loop detected for property "implicitWidth"

      steps to reproduce:
      run tst_QQuickMessageDialogImpl::changeStandardButtons(), tst_QQuickMessageDialogImpl::detailedText()
      or the manual test project in qtdeclarative/tests/manual/quickdialogs/dialogs

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              hurlevent Oliver Eftevaag
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes