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

stale-property-read for flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.10.0 Beta1
    • QML: Tooling
    • None
    • e1125c496 (dev), 4036b7eaa (6.10)

      We have the following qmllint issue with Qt 6.10.0-beta1.

      Issue:

      Reading non-constant and non-notifiable property flags. Binding might not update when the property changes. [stale-property-read]
                                      root.flags |= (Qt.WindowStaysOnTopHint | Qt.WindowTitleHint);
      
      

      Snippet of a ApplicationWindow:

      		function exampleFunc() {
      				root.flags |= (Qt.WindowStaysOnTopHint | Qt.WindowTitleHint);
      			}
      

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

            qtqmlteam Qt Qml Team User
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes