JDK-8120899 : Regression : many controls cannot be resized
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-11
  • Updated: 2015-06-17
  • Resolved: 2013-06-17
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.
JDK 8
8Fixed
Related Reports
Relates :  
Description
If you run the attached NB project, moving the slider you can see that many controls cannot be resized.
For instance: TreeView, Accordion, ListView, TextArea, TextField, ...

With 2.2.6, all these controls are obviously resized as expected.
Comments
Verified on 8.0b97.
08-07-2013

I've backed out the changeset locally and tested that the attached test case still works. Will push the backout when I'm next on VPN.
17-06-2013

Reopening to remove the patch as per Martin's advice.
17-06-2013

@Martin: So your advice is to remove the code that is contained in the attached RT-28337.patch file?
17-06-2013

I noticed the code that fixes this issue in SkinBase and it looks like it's not needed anymore (the sample above works even without the code).
17-06-2013

I can recreate the issue, and workaround it by calling requestLayout() on the 'bad' controls from within the test code (after all the pref widths have been set). Therefore, this issue can be resolved using the attached patch, but I am not sure that it is a good solution - I will need to clarify before pushing this as the fix.
12-02-2013

This is critical for applications such as Scene Builder to have this fixed asap.
11-02-2013