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

Declarative: A state with no name do not produce any effect

    XMLWordPrintable

Details

    • 4982b883c31874206aaa05268852fbcee81a8a39

    Description

      A state without any name property should either work out of the box or this property should be mandatory and give an error if absent.

      I guess that the first reflex of the developer when his state has no effect is to stare at the "when" property.
      I think that there should be some feedback to the developer to prevent him loosing his time.

      See the attached qml file for an example.

      Attachments

        1. state_name_bug.qml
          0.7 kB
          Jocelyn Turcotte
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            jturcott Jocelyn Turcotte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes