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

[REG 5.5->5.9, 4.8->5.9] Scrollbar is not shown when use QAbstractItemView::ScrollPerPixel and viewport on QListView is set fixed height

XMLWordPrintable

    • Linux/X11, Windows

      Scrollbar is not shown with following conditions.

      1. Resize QListView::viewport() to less than contents with using setFixedHeight()
      2. Set QAbstractItemView::ScrollPerPixel for verticalScrollMode.

      Expected: Show scrollbar anytime even resizing window.

      Actual: Does not show scrollbar when launch app.

       

      It’s reproducible with attachment sample on Ubuntu, and sometime Windows 10. (On Windows 10, that reproduces if resizes window to expand)

       

      And if use QAbstractItemView::ScrollPerItem, it works normally.

        For Gerrit Dashboard: QTBUG-71618
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            akizawa Akihito Izawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes