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

Details

    • Linux/X11, Windows

    Description

      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.

      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
              akizawa Akihito Izawa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes