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.

        1. qtbug71618.zip
          1 kB
          Akihito Izawa
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            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