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

Research changes to QML scoping to make it more intuitive

    XMLWordPrintable

Details

    Description

      I remember this has been talked about multiple times. I would like some more information added to this task.

      Here is what I have gathered: Properties declared in parent components are made available in child components' scopes in an inconsistent way. In particular, properties of the root component are available to all (recursive) sub-components, but properties of intermediate components are not. context properties seemingly are available everywhere, even in completely unrelated, recursively instantiated components.

      This situation makes property lookups brittle and expensive.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes