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

ListView delegated Component{} sees outside variables after setting contentY?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4
    • None
    • Win10 64x, Qt 6.6.2, MinGW (newest offered by maintenance tools)
    • Windows

    Description

      Hello,

      so I have a properties outside of ListView{}, inside delegated Component{} in that ListView{} i can read/write to them just fine, but once I call ListView.contentY (to place myself on top of ListView) then im getting errors that variables are not defined or invalid write to global property...

       

      Minimal example attached... so if you uncomment (or put it bellow API.feed() line - so when outside variables are already read) then you will have your error... however keeping this contentY line uncommented where it is, you will have the error

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            shokarta Jiri Zaloudek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes