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

Regression: Type QQmlBinding property State.when fails to accept assignments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.1
    • Labels:
      None
    • Environment:
      Qt 5.3.0 master 63890f78d0bea816ee2de4a9a26311d6c9c1566a
    • Commits:
      51ffc436cd4ded5838d8dc6569637e4dbb3bf1cf (qtdeclarative)

      Description

      Run attached QML code example.

      Expected result: When timer triggers property when evaluates to true, state "black" is activated.

      Actual result: Property when evaluates to false, and the execution results in following errors:

      file:///.../state_bug.qml:23:15: Unable to assign bool to [unknown property type]
      file:///.../state_bug.qml:23:15: Unable to assign QQuickRectangle_QML_0 to [unknown property type]
      

        Attachments

        1. state_bug.qml
          0.5 kB
          Joona Petrell
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes