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

Detached ScrollBar sometimes does not update position if size changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • Quick: Controls 2
    • None
    • Windows 10 Build (19043.1466)
    • Windows

    Description

      The position of a detached scrollbar is not set to 0 if the scrollbar is scrolled to its limit and then the size changes to >= 1.0 .

      The attached example is from your documentation: https://doc-snapshots.qt.io/qt6-dev/qml-qtquick-controls2-scrollbar.html#non-attached-scroll-bars

      I made the scrollbars always visible and added two buttons to change the size of the text.

      Reproduce:

      1. Start app, scrollbars work as expected
      2. Scroll to the bottom right
      3. Push "Small font"
      4. The scrollbars size is wrong and the text item is moved outside the top left of the frame
      5. On dragging the scrollbar fixes itself

      Not sure if in your oppinion this is a bug, I think it should be.

       

      Attachments

        Issue Links

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes