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

QML 'this' property binding is broken

XMLWordPrintable

    • Windows

      Button {
      property var on_clicked: function()

      { console.log( this ) }

        onClicked: on_clicked()
      }

      only works for the first click.

      The second and all following give an empty object for 'this'.

      With 5.12.1 everything was fine.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            bjoern.thiel Bjoern Thiel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes