Skip to content

After stage.getIcons().add(new Image(is)) call the Alert and other Dialogs do not hiding after close #192

@bekasov

Description

@bekasov

Hello!

OS: 6.11.10-2-MANJARO x64
JPRO: 2024.4.1

If I run the following code at the Stage's start

            String path = String.format("/icons/logotype_%d.png", size);
            try (InputStream is = App.class.getResourceAsStream(path)) {
                stage.getIcons().add(new Image(is));
            } catch (IOException e) {
                System.out.println(e.getMessage());
            }

then the icon is appearing at the site, but all the FX's dialogs and alerts cannot close, and at one case there is the following error:

image

without the icon all is OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions