-
Bug
-
Resolution: Duplicate
-
P4
-
9
This is another performance regression from the JDK-8137252.
Run hello.HelloTextFlow with -Djavafx.pulseLogger=true and observe that there is a constant stream of pulses.
Copying the comment from relatedJDK-8164933:
In the fix forJDK-8137252 new method Parent.requestLayout(boolean) was introduced and it is called in some cases instead of old Parent.requestLayout()
But some classes (Axis and TextFlow are the examples) override requestLayout and do some tricks to modify layout behaviour.
So before the fix for example Node.doNotifyLayoutBoundsChanged was calling requestLayout and if parent has it overridden, it modified the behaviour.
But now the requestLayout(boolean) is called so overridden method is not called hence the bug.
Run hello.HelloTextFlow with -Djavafx.pulseLogger=true and observe that there is a constant stream of pulses.
Copying the comment from related
In the fix for
But some classes (Axis and TextFlow are the examples) override requestLayout and do some tricks to modify layout behaviour.
So before the fix for example Node.doNotifyLayoutBoundsChanged was calling requestLayout and if parent has it overridden, it modified the behaviour.
But now the requestLayout(boolean) is called so overridden method is not called hence the bug.
- duplicates
-
JDK-8172364 Ensemble8 Canvas Fireworks jitters while animating
-
- Resolved
-
- relates to
-
JDK-8172364 Ensemble8 Canvas Fireworks jitters while animating
-
- Resolved
-
-
JDK-8164933 Charts are layed out on each pulse
-
- Resolved
-
-
JDK-8173796 Overriden method, requestLayout(), by subclass of Parent didn't get call when process layout
-
- Resolved
-
-
JDK-8137252 JavaFX StackPane bounds not updated
-
- Resolved
-