RFR: 8246745: ListCell/Skin: misbehavior on switching skin

Ambarish Rapte arapte at openjdk.java.net
Tue Jun 16 05:53:23 UTC 2020


On Mon, 15 Jun 2020 09:53:56 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> hmm, do you mean a list with height of one cell only?

Yes, List with one cell height.
In continuation to my previous comment, looks like 8 of the first 23 calls when window is displayed for the first time
are NOT for the one visible cell. These 8 calls are for some intermediate cell. I added a single counter for all three
`computeXXHeight` methods and verified with a list of height of one cell. When `fixedCellSize` is not set, total
combined number of calls for a cell are, 1:-  15, when Stage is displayed for the first time.(+8 for an intermediate
cell, not sure why) 2:-  5, when the list item is selected.
3:-  5, when the Window is resized.

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

PR: https://git.openjdk.java.net/jfx/pull/251


More information about the openjfx-dev mailing list