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

Research changes to QML scoping to make it more intuitive

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes