RFR: 8274137: TableView scrollbar/header misaligned when reloading data [v2]
rlichten at openjdk.java.net
Fri Sep 24 06:28:30 UTC 2021
> This PR fixes JDK-8274137 by removing the optimization from updateHbar() that will no-op the method in case the VirtualFlow is invisible or currently has no scene.
> Since changes to the hBar's value can happen even if the VirtualFlow is not currently visible, the synchronisation between hBar and clipX must happen all the time.
> A test agains VirtualFlow has been added that will fail before the change and pass afterwards.
Robert Lichtenberger has updated the pull request incrementally with one additional commit since the last revision:
8274137: TableView scrollbar/header misaligned when reloading data
Alternative fix using additional listeners instead of removing
- all: https://git.openjdk.java.net/jfx/pull/629/files
- new: https://git.openjdk.java.net/jfx/pull/629/files/7d04993f..03bcd0f3
- full: https://webrevs.openjdk.java.net/?repo=jfx&pr=629&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=629&range=00-01
Stats: 8 lines in 1 file changed: 8 ins; 0 del; 0 mod
Fetch: git fetch https://git.openjdk.java.net/jfx pull/629/head:pull/629
More information about the openjfx-dev