diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-05-06 11:20:53 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-06 17:55:26 +0000 |
commit | d58532963bee6af2ccccd9882cda18e7bc9b2430 (patch) | |
tree | 76a102b430499fcf3276853cc72e6089fbbac125 /features | |
parent | 2a1b9167ec8ace4a92aaf4cde078eff9dc522d40 (diff) |
qquicktableview: upon forceLayout(), check for visible rows/columns at the origin
There is a bug in TableView which will stop the user from
scrolling/flicking back to the first column if it has become
visible after first being hidden.
The reason is that this is somewhat of a special case that
happens only if the current left column is already at the
origin of the viewport, since that will fool tableview into
thinking that there can be no more columns in front of it.
This patch add an extra section to the function that checks
for visibility changes, to detect this special case.
Fixes: QTBUG-93264
Change-Id: Ieaad507b45ea11dc231519e9f49cbf182d6443ba
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 546df684e272bbbc5e8b871ae9b224fdb34a4cfa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'features')
0 files changed, 0 insertions, 0 deletions