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
When the system is set to an RTL language, windows positioned using
window-widthorwindow-position-xcan 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-widthandwindow-position-xshould be calculated from the right edge of the screen, consistent with how macOS positions native app windows.Config