JDK-8119685 : Regression: scrollbar issue with TitledPane
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-07-24
  • Updated: 2015-06-17
  • Resolved: 2013-11-14
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 :  
Relates :  
Relates :  
Relates :  
Description
Launch the attached test case.
Click on the "Add Content" button. 10 buttons are added in each TitledPane, but the scrollbar does not appear as it should.
Now resize the window : the scrollbar then appear !
It is a regression introduced in either Java 8 b98 or b99.
Comments
Verified on 8.0b120
31-12-2013

Logged RT-34286
14-11-2013

The issue re-appeared recently (in b114 or b115 I guess).
14-11-2013

Please file a new issue. A bug that is marked as "Fixed" as the result of a changeset pushed to the repo should not be reopened for a partial or complete fix failure (unless that changeset was backed out).
14-11-2013

Attached a NB project (same code) to reproduce more easily. See ScrollBarIssue.zip
14-11-2013

Verified on 8.0b106
05-09-2013

Yes, the testcase, unit tests, and all the usual tests work. I didn't test with SB. The jira doesn't give exact details to reproduce in SB, so I though I'd check with the experts :-)
02-09-2013

Sure, I'll test this in SB. I guess you checked with the test case ?
02-09-2013

Fixed with : changeset: 4860:3f656fbd508f tag: tip user: mickf date: Mon Sep 02 13:44:19 2013 +0100 summary: RT-31901 - Regression: scrollbar issue with TitledPane
02-09-2013

@Jerome : I've pushed a fix which should be in the next promoted build. If you can spare an cycles it'd great if you could check it out?
02-09-2013

Mick, any news on this one ? This is very visible in SB.
29-08-2013

I have filed RT-32448 to track this.
21-08-2013

Mick, you can try to remove the big if(c.getContentBias() != ... ) blocks from canChangeVerticalSBVisibility and canChangeHorizontalSBVisibility. It should work although I won't be as effective. If we want to support children modification in compute* methods, I need to fix this in layout code to avoid such infinite loops.
21-08-2013

I had to back out the proposed patch from Martin as it led to RT-32443. Therefore, I'm reopening this issue and reassigning to Mick to review.
20-08-2013

Applied Martin's patch.
30-07-2013

Assigning to Mick to review the patch from Martin and push to the repo if appropriate.
25-07-2013

Patch attached, returning back to controls for review. Since we don't have multiple layout passes anymore, the invalidation of ScrollPane layout when one of the scrollbars might change visibility must be done differently.
25-07-2013

This is almost certainly related to the scenegraph requestLayout() changes Martin has been working on, so I'll send it his way to triage appropriately.
24-07-2013