Re: RFR: 8266966: Wrong CSS properties are applied to other nodes after fix for JDK-8204568 [v2]

2021-05-17 Thread Jose Pereda
On Mon, 17 May 2021 19:35:09 GMT, Ambarish Rapte wrote: >> Issue: >> When css file is added to a `Scene.getStylesheets()` of a Scene which has >> few controls in addition to a Label then css style of a different control >> gets applied to Label after Stage is hidden and shown. This is a regress

Re: RFR: 8266966: Wrong CSS properties are applied to other nodes after fix for JDK-8204568 [v2]

2021-05-17 Thread Kevin Rushforth
On Mon, 17 May 2021 19:35:09 GMT, Ambarish Rapte wrote: >> Issue: >> When css file is added to a `Scene.getStylesheets()` of a Scene which has >> few controls in addition to a Label then css style of a different control >> gets applied to Label after Stage is hidden and shown. This is a regress

Re: RFR: 8266966: Wrong CSS properties are applied to other nodes after fix for JDK-8204568 [v2]

2021-05-17 Thread Ambarish Rapte
> Issue: > When css file is added to a `Scene.getStylesheets()` of a Scene which has few > controls in addition to a Label then css style of a different control gets > applied to Label after Stage is hidden and shown. This is a regression of > [JDK-8204568](https://bugs.openjdk.java.net/browse/J

Re: RFR: 8266966: Wrong CSS properties are applied to other nodes after fix for JDK-8204568 [v2]

2021-05-17 Thread Ambarish Rapte
On Mon, 17 May 2021 14:20:33 GMT, Jose Pereda wrote: > Just added two minor comments. Updated PR according to comments, please have a re-look. > modules/javafx.graphics/src/main/java/javafx/scene/CssStyleHelper.java line > 456: > >> 454: } >> 455: >> 456: private boolean resetInProgr