-
Type:
Bug
-
Resolution: Incomplete
-
Priority:
P3
-
Affects Version/s: 8u102, 9
-
Component/s: javafx
The changes in JDK-8151756 broke my application who uses getUserAgentStylesheet().
It looks like the stylesheet provided is only applied under certain conditions (in my case always the first time I add the Node of this type to the SG).
I've been unable to create a stripped down version but I know my code worked in u92 and starts to break with u102.
I can fix the problem for now by calling Platform.runLater( () -> {impl_reapplyCSS();}); so the CSS is applied if I force it to happen!
It looks like the stylesheet provided is only applied under certain conditions (in my case always the first time I add the Node of this type to the SG).
I've been unable to create a stripped down version but I know my code worked in u92 and starts to break with u102.
I can fix the problem for now by calling Platform.runLater( () -> {impl_reapplyCSS();}); so the CSS is applied if I force it to happen!