JDK-8089009 : TableView with CONSTRAINED_RESIZE_POLICY incorrectly displays a horizontal scroll bar.
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8u20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-05-31
  • Updated: 2022-11-29
  • Resolved: 2022-08-22
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.
Other
openjfx20 b03Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
When a table using a CONSTRAINED_RESIZE_POLICY is resized, it sometimes incorrectly displays a horizontal scroll bar.  Steps to reproduce:

1. Run the below example.
2. Use the split pane to shrink the table on the left.

The horizontal scroll bar will flicker on and off as the table's width is reduced.  The table on the right is the same, but using an UNCONSTRAINED_RESIZE_POLICY.

https://gist.github.com/ryanjaeb/d795b94f6a455fe8aeeb
Comments
No worries. Only those with JBS accounts can have bugs assigned to them, and the contributor doesn't have one. They are listed in the commit message.
26-08-2022

Accidentally re-assigned this ticket to myself, sorry. The credit for fixing this bug goes to Dandem, Sai Pradeep <SaiPradeep.Dandem@thalesgroup.com.au> sorry
26-08-2022

Changeset: d4ff45af Author: Dandem, Sai Pradeep <SaiPradeep.Dandem@thalesgroup.com.au> Committer: Ajit Ghaisas <aghaisas@openjdk.org> Date: 2022-08-22 04:23:15 +0000 URL: https://git.openjdk.org/jfx/commit/d4ff45af9fbde29f96d80681c7fc3af3ec580d1a
22-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/848 Date: 2022-07-25 09:25:57 +0000
25-07-2022

Sorry, marked as resolved when I was supposed to mark as evaluation complete - reopening.
02-06-2014