Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.9
-
-
bff7aca86 (dev), 5800bf988 (6.6), 11ee3dcf3 (tqtc/lts-6.5), a4ed13098 (dev), 642b08d15 (6.6), 52571c3e5 (tqtc/lts-6.5), d1d7571c6 (tqtc/lts-6.2), 860a28f52 (tqtc/lts-6.2)
Description
TableView should always show the last line by setting the ContentY.
When updating ContentY in onModelChanged, the view loads data for every single cell and is quite slow to display. The performance should be improved.
The behavior can be reproduced when populating the TableView from a custom model that provides 1 000 000 lines with 3 rows each but is also observed with more complex models.
Attachments
For Gerrit Dashboard: QTBUG-118897 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
516765,3 | TableView: clear positioning flags upon RebuildOption::All | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
516762,3 | TableView: don't emit rows and columns changed while rebuilding | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
516764,2 | TableView: don't rebuild everything if row count changed | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
517181,2 | TableView: don't emit rows and columns changed while rebuilding | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
517282,2 | TableView: don't emit rows and columns changed while rebuilding | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
517304,3 | TableView: don't emit rows and columns changed while rebuilding | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
518095,2 | TableView: don't rebuild everything if row count changed | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
518109,2 | TableView: don't rebuild everything if row count changed | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
518134,2 | TableView: don't rebuild everything if row count changed | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |