Skip to content

desktop: switching language from Arabic (RTL) to English leaves overlapping, unusable controls in 2.1.4 #58532

Open

Description

@ahmadsbeh

Summary

On OpenCode Desktop 2.1.4 (Windows x64, latest channel), switching the app language from Arabic (RTL) to English leaves controls overlapping each other and unusable — buttons render on top of one another and stop responding.

Environment

  • opencode version: 2.1.4 (OpenCode Desktop, official updater — latest channel)
  • OS: Windows 11 (Windows_NT 10.0.26300, win32 x64)
  • Terminal: OpenCode Desktop (Electron renderer)
  • Shell: C:\WINDOWS\system32\cmd.exe
  • Install/channel: desktop installer, latest channel
  • Active plugins: none found in config

Reproduction

  1. Set the app language to Arabic (RTL layout) in settings
  2. Switch the app language to English
  3. Buttons/controls overlap each other and become unusable

Expected Behavior

The layout fully reflows to LTR and all controls are usable after the switch.

Actual Behavior

Controls remain overlapped and non-functional. A new session view can render blank.

Additional Context

Activity

  1. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report. I tried to reproduce this, but it happens in the Windows desktop app and I can't run that in my environment, so a maintainer with the desktop app will need to check it.

    To help them, could you share:

    • A screenshot of the overlapping controls after switching to English.
    • Whether it still happens after a full quit and relaunch with English already selected (you mentioned restarting; does the layout come back broken right after launch?).
    • Whether you have any desktop extensions enabled, or have used the extension debug bar's direction toggle.

    Related earlier reports, which were fixed: #37779 (titlebar overlap with right-to-left languages) and #38109 (Arabic right-to-left alignment).

  2. ahmadsbeh commented on Oct 23, 2026

    @ahmadsbeh
    Author

    Answers to your questions from our environment (Windows 11 x64, Desktop 2.1.4, latest channel):

    1. Screenshot attached below (overlap.png): the titlebar controls (menu, split view, new-tab) render stacked on top of each other in the top-left corner, and the session view renders blank. Red annotation added to mark the overlapping controls.

      Titlebar controls overlapping after switching to English

    2. Persistence after full restart: yes — the problem persists after fully quitting the app (including any tray instance) and relaunching with English already selected. The controls come up overlapped right from first paint.

    3. Extensions / direction toggle: no desktop extensions are enabled, and the extension debug bar's direction toggle has never been used. Verified by inspecting %APPDATA%\ai.opencode.desktop for extension/plugin/debug folders — none exist.

    Happy to run any build with a suspected fix if useful.

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

Metadata

Metadata

Assignees

No one assigned

    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