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

Aliases of properties of bindables don't emit change signals

    XMLWordPrintable

Details

    • 1f40e12a8 (dev), 96a2ab231 (dev), 2cefd5580 (6.9), 77e468677 (6.8), f40f12708 (tqtc/lts-6.5)

    Description

      Consider:

      import QtQml
      import Test
      
      BindablePoint {
          id: root
          property int changes: 0
          property alias aa: root.point.x
          onAaChanged: ++changes
      }
      

      If the "point" property is only bindable (has no change signal), then onAaChanged does not trigger when you update point.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: