Skip to content

RTL Windows: minimize/maximize/close buttons collide with opencode titlebar buttons #35388

Closed as not planned

Description

@IlayBacil1999

Description

On RTL-configured Windows systems (Hebrew/Arabic UI language), Electron's titleBarOverlay places the minimize/maximize/close caption buttons on the left side of the window frame. The opencode titlebar is designed with all its own buttons on the left side (menu, sidebar toggle, navigation), causing them to overlap and collide with the OS caption buttons.

The app is English/LTR, so the caption buttons should remain on the right side regardless of the system RTL setting.

Steps to reproduce

  1. Set Windows display language to Hebrew or Arabic (RTL)
  2. Install and launch OpenCode desktop app
  3. Observe that the minimize/maximize/close buttons overlap with the opencode menu and navigation buttons

Photo

Image

Expected behavior

The minimize/maximize/close buttons should be on the right side of the titlebar, separate from opencode's own UI elements.

Environment

  • Windows 10/11 with RTL language
  • OpenCode desktop

Activity

  1. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    This issue might be related to an existing issue. Please check:

    If this is a separate, distinct issue from #35319, feel free to disregard.

  2. yortem commented on Jul 15, 2026

    @yortem

    This started to happen to me after 1.18, and it's not the same issue as the usual rtl in text, but the interface.

  3. hodahjaj commented on Jul 15, 2026

    @hodahjaj

    I can confirm I'm experiencing the exact same issue on Windows 11 with Arabic set as the system display language.

    Environment:

    • OpenCode version: v1.18.1
    • OS: Windows 11 (Arabic display language)
    • Interface: v2 (tab-based)

    Issue:
    The window control buttons (✕, –, □) overlap with the + tab button and other left-side UI elements in the title bar. This makes it difficult to click the correct buttons.

    Workaround:
    Switching to the classic v1 interface resolves the issue temporarily, confirming it's specific to the v2 layout.

    This problem started appearing after the v1.18 update, as another user mentioned. It would be great if this could be prioritized for the next release.

  4. MichaelYochpaz commented on Jul 15, 2026

    @MichaelYochpaz
    Contributor

    I'm also experiencing this. Makes the new UI unusable. Had to access the settings (using tab to cycle through buttons, since I can't access it with the cursor) and disable the new UI.

    Seems to be an issue specific to RTL languages on Windows.

  5. github-actions commented on Sep 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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