-
Bug
-
Resolution: Duplicate
-
P4
-
7u40
-
Ubuntu
In the dialog produced by FileChooser.showSaveDialog, if you select an existing file there is a confirmation dialog on Windows and on Mac, but not on Linux (tried Ubuntu 11 & 12).
package javafxapplication;
import java.io.File;
import javafx.application.Application;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
public class JavaFXApplication extends Application {
@Override
public void start(Stage primaryStage) {
FileChooser fileChooser = new FileChooser();
File ignored = fileChooser.showSaveDialog(primaryStage);
}
public static void main(String[] args) {
launch(args);
}
}
package javafxapplication;
import java.io.File;
import javafx.application.Application;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
public class JavaFXApplication extends Application {
@Override
public void start(Stage primaryStage) {
FileChooser fileChooser = new FileChooser();
File ignored = fileChooser.showSaveDialog(primaryStage);
}
public static void main(String[] args) {
launch(args);
}
}
- blocks
-
JDK-8122767 No Warning when saving on an existing file (Linux)
- Closed
- duplicates
-
JDK-8125846 Gtk: FileChooser save dialog does not ask for confirmation to overwrite an existing file on Linux
- Resolved
- relates to
-
JDK-8114238 FileChooser save dialog does not ask for confirmation to overwrite an existing file on Windows XP
- Closed
-
JDK-8123775 Gtk: FileChooser save dialog do not use extension to decide if overwrite confirmation is needed on Linux
- Closed