JDK-8171898 : [WebView] ScrollBarWidget thickness calculation is not correct
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2016-12-22
  • Updated: 2020-05-05
  • Resolved: 2020-05-05
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
openjfx15Resolved
Related Reports
Relates :  
Description
ScrollbarThemeJava delegates scrollbar thickness calculation to ScrollBarWidget::initializeThickness() [ScrollBarWidget.java] method. Since "ScrollbarThemeJava::scrollbarThickness" is not associated any "ScrollBarWidget" instance, some workaround was made using special "ScrollBarWidget" instance named testRef.
Comments
After JDK-8157900, initializeThickness() moved from ScrollBarThemeImpl to ScrollBarWidget but the implementation was kept the same by using testSBRef to call setThickness() for setting ScrollBarTheme.thickness. Modifying initializeThickness() to set ScrollBarTheme.thickness once and removing testSBRef.
27-04-2020