Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.9.7, 5.11.2
-
Ubuntu
Description
Scrollbar is not shown with following conditions.
- Resize QListView::viewport() to less than contents with using setFixedHeight()
- 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
- resulted from
-
QTBUG-45470 Horizontal scroll bar is not shown in QListView with horizontalScrollBarPolicy and verticalScrollBarPolicy == Qt::ScrollBarAsNeeded
-
- Closed
-
-
QTBUG-61383 Scrollbar does not respect viewportMargins in QListWidget when using ViewMode=IconMode
-
- Closed
-