JDK-8143266 : TreeTableView flickers when inserting elements
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8u40
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-18
  • Updated: 2022-05-16
  • Resolved: 2015-11-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u92Fixed 9Fixed
Related Reports
Relates :  
Relates :  
Run the attached source to see:
* TableView performing a lot better than
* a flat TreeTableView
but really worse is the update behavior who makes the table flicker

The flicker regression has been introduced between u20 and u40
Fix backported to 8u76.

Thanks. 8u-dev is 8u76 now so I updated the fixversion.

Thanks for confirming Kevin. I have created JDK-8144200 and targeted it (almost arbitrarily) to 8u72. This may need changing, I don't know what version is correct.

Yes, this should be backported to 8u, as long as Jonathan is comfortable with the fix. Approved for backporting to 8u.

As this is a regression and the fix is so minimal. Would it be a candidate for a backport to 8u something?

Changeset: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/a0e507c67c94

Based on an early exploration, this issue seems related to the TableRowSkinBase.updateCells method, when resetChildren is true and the fullRefreshCounter is zero (so the cells are recreated). In this situation, I can see the flicker happens at the same time a println is shown on the console. Will explore ASAP.