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

Error: Invalid write to global property "sticky" in ScrollViewStyle.qml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.15.2
    • Quick: Controls 1
    • None
    • RHEL-8 / Intel
    • Linux/Other display system

    Description

      On RHEL-8 with standard Intel hardware, this error popped up when we switched from Qt-5.7 to Qt-5.15.2 (and RHEL-7 to RHEL-8), with no change to surrounding code.  It seems to be benign, but nonetheless, it does say "Error" and we cannot have errors in our code.  The error is coming from the installed QML code in ScrollViewStyle.qml file, lines 127 and 166 (see screenshot).  The error seems erroneous because it is complaining about writing to a global property, "sticky".  And in the code, you can plainly see that there is a local property called "sticky".

        

      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
            philirwin philirwin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes