[jfx19] RFR: 8290348: TreeTableView jumping to top [v4]

Johan Vos jvos at openjdk.org
Thu Jul 21 11:12:08 UTC 2022


> Do not recalculate total estimated size recursively.
> 
> In the (unlikely) event that the recalculation triggers a new recalculation (e.g. when the height of a Cell is changed), do not start this recalculation.
> The cache and cache size may become inconsistent if a recursive calculation is started.
> This fixes JDK-8290348

Johan Vos has updated the pull request incrementally with one additional commit since the last revision:

  always set recalculating to false at the end (preventing from not updating anymore after a single exception)

-------------

Changes:
  - all: https://git.openjdk.org/jfx/pull/836/files
  - new: https://git.openjdk.org/jfx/pull/836/files/080ae765..879fb3da

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=836&range=03
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=836&range=02-03

  Stats: 49 lines in 1 file changed: 15 ins; 12 del; 22 mod
  Patch: https://git.openjdk.org/jfx/pull/836.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/836/head:pull/836

PR: https://git.openjdk.org/jfx/pull/836


More information about the openjfx-dev mailing list