Description
In the following code, the second button is blurred (and should not be?):
package test;
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.effect.*;
import javafx.stage.*;
public class BugBlur extends Application {
public static void main(String[] args) {
Launcher.launch(BugBlur.class, args);
}
public void start(final Stage stage) {
Group group = new Group ();
Button button = new Button ("TEST");
button.setLayoutX(100);
button.setLayoutY(100);
button.setScaleX(2);
button.setScaleY(2);
group.getChildren().add(button);
Button button2 = new Button ("TEST");
button2.setLayoutX(100);
button2.setLayoutY(150);
button2.setScaleX(2);
button2.setScaleY(2);
group.getChildren().add(button2);
GaussianBlur blur = new GaussianBlur();
blur.setRadius(0);
button2.setEffect(blur);
Scene scene = new Scene(group);
stage.setScene(scene);
stage.setVisible(true);
}
}
package test;
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.effect.*;
import javafx.stage.*;
public class BugBlur extends Application {
public static void main(String[] args) {
Launcher.launch(BugBlur.class, args);
}
public void start(final Stage stage) {
Group group = new Group ();
Button button = new Button ("TEST");
button.setLayoutX(100);
button.setLayoutY(100);
button.setScaleX(2);
button.setScaleY(2);
group.getChildren().add(button);
Button button2 = new Button ("TEST");
button2.setLayoutX(100);
button2.setLayoutY(150);
button2.setScaleX(2);
button2.setScaleY(2);
group.getChildren().add(button2);
GaussianBlur blur = new GaussianBlur();
blur.setRadius(0);
button2.setEffect(blur);
Scene scene = new Scene(group);
stage.setScene(scene);
stage.setVisible(true);
}
}
Attachments
Issue Links
- relates to
-
JDK-8087987 [Decora] Minor code cleanup issues in Decora files
- Open
-
JDK-8096840 Dirty region problems with blurs with large radii
- Resolved
-
JDK-8089846 Blur effects no longer provide a side effect of using IDENTITY transform for inputs
- Closed
-
JDK-8097799 Optimize blurs in shaders
- Closed
-
JDK-8098082 Use scaled kernel to improve DropShadow performance for node scale factors < 1
- Closed
-
JDK-8098164 Improve performance of Gaussian-based effects
- Closed
(1 relates to)