! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Window resizing not possible after javafx alert
Status:
RESOLVED: MOVED

Comments

Description spawn 2018-04-30 21:59:23 CEST
Hi,
after an alert of a javafx application, instead of resizing the window is moved. Maximizing/ unmaximizing it is still possible though.
I have tested this on debian stretch (only default packages), however, looking at

https://stackoverflow.com/questions/33134791/javafx-stage-cant-be-resized-after-showing-a-dialog

the bug seems to be around some time. It might well be possible, that this is primarily a bug in javafx, however, I have tested the windowmanagers compiz, mutter, marco, openbox, kwin and muffin; xfwm4 is currently the only one where that happens. In above stackoverflow question there is also a minimal example to reproduce, which i copy here for completeness:

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.ButtonType;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

public class StageTest extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Hello World!");
        Button btn = new Button();
        btn.setText("Show Alert");
        btn.setOnAction(e -> {
            Alert alert = new Alert(AlertType.WARNING, "This is an alert", ButtonType.YES);
            alert.showAndWait();
        });
        StackPane root = new StackPane();
        root.getChildren().add(btn);
        primaryStage.setScene(new Scene(root, 1000, 850));
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}


Thanks in advance for taking the time to fix this.
Best regards
spawn
Comment 1 Git Bot editbugs 2020-05-29 12:20:52 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/289.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14371

Reported by:
spawn
Reported on: 2018-04-30
Last modified on: 2020-05-29

People

Assignee:
Eric Koegel
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information