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

stale-property-read for flags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • 6.10.0 Beta1
    • QML: Tooling
    • None

    Description

      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);
      			}
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes