-
Bug
-
Resolution: Fixed
-
P3
-
8u66, 9
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 x64
A DESCRIPTION OF THE PROBLEM :
There is an animation started even if was not necessary.
REGRESSION. Last worked in version 7u80
ADDITIONAL REGRESSION INFORMATION:
I was running in version prior listeners refactoring in ProgressIndicatorSkin
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start the provided application in section: "Source code for an executable test case"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No animation running
ACTUAL -
The animation should not start. For example by profiling, com.sun.javafx.tk.Toolkit$$Lambda$111 is creating objects continuously.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
In a big application with JFXPanels in a 4K monitor occurs OutOfMemoryException.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class JFXMain extends Application{
@Override
public void start(Stage primaryStage) throws Exception {
HBox root = new HBox();
ToggleButton toggleButton = new ToggleButton();
ProgressIndicator progressIndicator = new ProgressIndicator(ProgressIndicator.INDETERMINATE_PROGRESS);
StackPane stackPane = new StackPane(progressIndicator);
stackPane.visibleProperty().bind(toggleButton.selectedProperty());
root.getChildren().addAll(toggleButton, stackPane);
primaryStage.setScene(new Scene(root));
primaryStage.show();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Remove all ProgressIndicators and make use of another solution to show the unknown process.
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 x64
A DESCRIPTION OF THE PROBLEM :
There is an animation started even if was not necessary.
REGRESSION. Last worked in version 7u80
ADDITIONAL REGRESSION INFORMATION:
I was running in version prior listeners refactoring in ProgressIndicatorSkin
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start the provided application in section: "Source code for an executable test case"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No animation running
ACTUAL -
The animation should not start. For example by profiling, com.sun.javafx.tk.Toolkit$$Lambda$111 is creating objects continuously.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
In a big application with JFXPanels in a 4K monitor occurs OutOfMemoryException.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class JFXMain extends Application{
@Override
public void start(Stage primaryStage) throws Exception {
HBox root = new HBox();
ToggleButton toggleButton = new ToggleButton();
ProgressIndicator progressIndicator = new ProgressIndicator(ProgressIndicator.INDETERMINATE_PROGRESS);
StackPane stackPane = new StackPane(progressIndicator);
stackPane.visibleProperty().bind(toggleButton.selectedProperty());
root.getChildren().addAll(toggleButton, stackPane);
primaryStage.setScene(new Scene(root));
primaryStage.show();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Remove all ProgressIndicators and make use of another solution to show the unknown process.
- duplicates
-
JDK-8152426 Memory leak in JavaFX ProgressBar with progress=-1 on Linux
-
- Closed
-
- is blocked by
-
JDK-8090322 Need new tree visible property in Node that consider Scene and Stage visibility
-
- Resolved
-
- relates to
-
JDK-8094078 ProgressIndicator/ProgressBar continue to animate when removed or made invisible
-
- Resolved
-