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

Binding overwritten in BasicTableView and TextArea

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.0 RC2
    • Quick: Controls 2
    • None

    Description

      The BasicTableView and TextArea controls have a binding overwriting issue. It can easily be fixed by removing the offending line "anchors.fill: parent" within them (the line numbers are listed below). The lines are inside a ScrollView and unnecessary as "Only one Item can be a direct child of the ScrollView and the child is implicitly anchored to fill the scroll view."

      When I run a complex QML/Qt application in Qt Creator, I get these messages in the Application Output:

      10:20:08.860 [F] qt.qml.binding.removal unknownFunction unknownFile:0/=Overwriting binding on QQuickAnchors::fill at file:///home/jarmo/Qt/5.15.4/gcc_64/qml/QtQuick/Controls/ScrollView.qml:207 that was initially bound at file:///home/jarmo/Qt/5.15.4/gcc_64/qml/QtQuick/Controls/Private/BasicTableView.qml:411:9

      10:20:09.542 [F] qt.qml.binding.removal unknownFunction unknownFile:0/=Overwriting binding on QQuickAnchors::fill at file:///home/jarmo/Qt/5.15.4/gcc_64/qml/QtQuick/Controls/ScrollView.qml:207 that was initially bound at [file:///home/jarmo/Qt/5.15.4/gcc_64/qml/QtQuick/Controls/TextArea.qml:726:9

      EDIT: Reopened as the issue exists in Controls 2. I had originally chosen the wrong component (Quick: Controls 1) for this ticket.

      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
            jarmo Jarmo Petäjäaho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes