Skip to content

Incorrect maximized bounds of decorated windows on macOS for pre-Java 15 #469

@kirill-grouchnikov

Description

@kirill-grouchnikov

This is for #129 and the fix that went into the codebase last year around https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTitlePane.java#L624

Running a decorated frame with Java 9 on macOS and clicking the maximize button that comes from FlatLaf makes the window too big. If it's a 2x retina screen (on earlier models of MacBook Pro), the window will be 2x as wide and tall as it should be. Perhaps the fix should only apply on Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions