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

Regression: ScrollView+TextArea do not scroll correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.4, 5.10.1, 5.11.0 Beta 2
    • Fix Version/s: 5.9.5, 5.11.0 Beta 4
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      Win 10, mingw
    • Commits:
      d3c628fbd7b7d7f2a83e3e77d9318bb930b8b3b6 4a8c2605c26acf575e181682f083e077b815ab4b

      Description

      Scrolling the TextArea moves the whole area. The problem occurs in Qt 5.9.4, 5.10.1 and 11 but not in 5.9.2.

      import QtQuick 2.9
      import QtQuick.Controls 2.2
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Scroll")
      
          ScrollView {
              anchors.fill: parent
      
              TextArea {
                  //wrapMode: Text.WrapAtWordBoundaryOrAnywhere
              }
              ScrollBar.vertical: ScrollBar { }
          }
      
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              DanielSt Peter Staab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes