Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: application cannot exit after Popover is shown #109

Open
bitfist opened this issue Aug 25, 2024 · 1 comment
Open

Bug: application cannot exit after Popover is shown #109

bitfist opened this issue Aug 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bitfist
Copy link

bitfist commented Aug 25, 2024

Hi,

I am currently encountering a bug where the application keeps running after the window is closed. The bug only occurs after a Popover is shown. I am on Fedora 39 with KDE and Wayland.

Minimal example

public class PopoverBug extends Application {

    public static void main(String[] args) {
        System.setProperty("java.awt.headless", "false");
        Application.launch(args);
    }

    @Override
    public void start(Stage primaryStage) {
        var button = new Button("Button with Popover");
        button.setOnAction(event -> {
            var popover = new Popover(new BorderPane());
            popover.show(button);
        });

        var root = new BorderPane();
        root.setTop(button);

        var scene = new Scene(root, 1280.0, 800.0);

        primaryStage.setScene(scene);
        primaryStage.show();
    }
}

Additional info: using the PopOver from controls-fx does not trigger the bug.

PS: thank you for AtlantaFX, pretty awesome project =)

@mkpaz mkpaz added the bug Something isn't working label Aug 27, 2024
@zapek
Copy link

zapek commented Nov 10, 2024

Easy to reproduce on Windows.

  • run the AtlantaFX Sampler app
  • go to Containers/Popover
  • click on the "Text" preview
  • close the app

Check in the task manager. It's in the Background processes and you have to kill it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants