Skip to content

macOS: Window Positioning Should Respect RTL Layout #12186

@bo2themax

Description

@bo2themax

When the system is set to an RTL language, windows positioned using window-width or window-position-x can overflow off-screen. The window positioning logic does not account for RTL layout direction, causing the window to be placed incorrectly.

Expected Behavior

Window positioning should respect the active layout direction. In RTL mode, the origin for both window-width and window-position-x should be calculated from the right edge of the screen, consistent with how macOS positions native app windows.

Config

window-width = 800
window-position-x = 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiGUI or app issue regardless of platform (i.e. Swift, GTK)os/macos

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions