Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
5.5.1
-
None
-
37c25c6e7 (dev), 8fae0aa4a (6.5)
Description
import QtQuick 2.6 import QtQuick.Window 2.2 Window { id: window width: 400 height: 800 visible: true color: "#444" ListView { id: lv anchors.fill: parent model: 73000 onCountChanged: print("count", count) delegate: Item { width: 100 height: lv.height } } }
Using a fixed height like height: 20 or height: window.height is a workaround.
Attachments
Issue Links
- relates to
-
QTBUG-104204 Meta-task for issues related to ListView filling a window
- Reported
For Gerrit Dashboard: QTBUG-51773 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
416041,16 | ListView: fix delegates being created unnecessarily | dev | qt/qtdeclarative | Status: NEW | -1 | 0 |
472596,7 | QQuickItemView: Skip instantiating delegates if size is 0 | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
473429,2 | QQuickItemView: Skip instantiating delegates if size is 0 | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |