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

Regression: Singleton property lookup fails

    XMLWordPrintable

Details

    • All

    Description

      The change https://codereview.qt-project.org/#/c/249101/ introduces a bug when accessing singleton properties, if there a multiple singletons which have properties with the same name.

      The problem is, that if you create multiple instances of a component and pass in different singletons, the component accesses the cached properties of another singleton.

       

      In the example that I have, you can see that if you have two instances of a component and two different singletons, it fails to properly display the values.

       

      Attachments

        Activity

          People

            shausman Simon Hausmann
            mike.achtelik Mike Achtelik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: