[jfx19] RFR: 8290348: TreeTableView jumping to top

Johan Vos jvos at openjdk.org
Sun Jul 17 18:03:51 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

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

Commit messages:
 - Do not recalculate total estimated size recursively.

Changes: https://git.openjdk.org/jfx/pull/836/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=836&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8290348
  Stats: 34 lines in 2 files changed: 32 ins; 1 del; 1 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