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

Default style: Customizing ScrollBar contentItem breaks scrolling, errors displayed when interacted with

    XMLWordPrintable

Details

    • Windows

    Description

      With "Default" style selected on Windows customizing ScrollBar like demonstrated in docs: https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-scrollbar breaks the ScrollBar. For one the ScrollBar cannot scroll anymore and it will display an error as soon as the ScrollBar is hovered:

      file:///C:/Qt/6.1.2/mingw81_64/qml/QtQuick/Controls/Windows/ScrollBar.qml:66:49: Unable to assign [undefined] to int

      Different errors are displayed if the arrow buttons (up or down) are hovered:

      file:///C:/Qt/6.1.2/mingw81_64/qml/QtQuick/Controls/Windows/ScrollBar.qml:91:49: Unable to assign [undefined] to int

      file:///C:/Qt/6.1.2/mingw81_64/qml/QtQuick/Controls/Windows/ScrollBar.qml:113:49: Unable to assign [undefined] to int

      Steps to reproduce the problem:

      1. Run the attached project
      2. Try to scroll using the ScrollBar

      Attachments

        Issue Links

          Activity

            People

              smd Jan Arve
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: