Skip to content

Double-click to maximize/zoom broken on macOS Tahoe when apple.awt.windowTitleVisible is false #1106

@Falconson

Description

@Falconson

Setting apple.awt.windowTitleVisible to false on the root pane breaks the double-click-to-maximize (zoom) action on the title bar area. This is a regression ntroduced by macOS Tahoe the same code works correctly on macOS earlier versions.

Example:

frame.getRootPane().putClientProperty("apple.awt.windowTitleVisible", false);
frame.getRootPane().putClientProperty( "apple.awt.transparentTitleBar", true );
frame.getRootPane().putClientProperty("apple.awt.fullWindowContent", true);

Are there any ideas how to fix this? I don't want to use setTitle("") as a workaround because the window name popup on the Dock miniature would be missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions