GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Desktop macOS 15: first Chinese character cannot be typed with 微信输入法 / 豆包输入法 IME · Issue #41647 · anomalyco/opencode

[Bug]: Desktop macOS 15: first Chinese character cannot be typed with 微信输入法 / 豆包输入法 IME #41647

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[Bug]: Desktop macOS 15: first Chinese character cannot be typed with 微信输入法 / 豆包输入法 IME#41647
Copy link
Assignees
Brendonovich
Labels
pending closetriaging

Description

@Maxthonzx
Maxthonzx
opened on Aug 11, 2026
Issue body actions

Description

On macOS 15, in the OpenCode desktop app, the first character cannot be entered when the input field is in Chinese input-method state. Reproduced with two third-party IMEs: 微信输入法 (WeChat / WeType) and 豆包输入法 (Doubao). If the first character is English or a digit, everything works fine afterwards — the failure only affects the very first Chinese keystroke of a message.

This looks related to existing IME composition issues (#39632, #37911, #38674) but occurs specifically in the desktop app's first-keystroke path with these IMEs on macOS 15 (not the v2 web prompt, not Esc handling).

Plugins

None

OpenCode version

1.18.16 (Desktop)

Steps to reproduce

  1. Install 微信输入法 (z.weixin.qq.com) or 豆包输入法 (shurufa.doubao.com) on macOS 15.
  2. Open the OpenCode desktop app, click into the message input field.
  3. Keep the IME in Chinese mode, type the first character (e.g. n), continue composing.
  4. Nothing appears / the first character is lost or committed literally instead of entering the composition.
  5. As a workaround: type an English letter or a digit first, then the following Chinese text inputs normally.

Screenshot and/or share link

No response

Operating System

macOS 15.7.9

Terminal

No response (Desktop app)

Reacted by huangqc

Activity

  1. github-actions commented on Aug 11, 2026

    @github-actions
    github-actionsBot
    on Aug 11, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Bug: IME composition breaks on the first keystroke in the v2 prompt input #39632: IME composition breaks on the first keystroke in the v2 prompt input (same first-keystroke symptom, different scope)
    • Desktop app freezes with 100% CPU when typing with Microsoft Pinyin IME #36607: Desktop app freezes with 100% CPU when typing with Microsoft Pinyin IME (desktop + IME, different symptom but related area)
    • macOS native Chinese IME composition is not cancelled correctly when pressing Esc #37911: macOS native Chinese IME composition not cancelled correctly on Esc (macOS IME composition handling)
    • Safari: CJK IME composition is aborted mid-input in web app prompt input #38674: Safari CJK IME composition aborted mid-input (CJK IME composition in input)
  2. github-actions
    assigned
    Brendonovich
    on Aug 11, 2026
  3. OliverLPH commented on Aug 18, 2026

    @OliverLPH
    OliverLPH
    on Aug 18, 2026
    More actions

    I may have reproduced the same class of issue with Apple's built-in Simplified Chinese Pinyin IME.

    Environment: OpenCode Desktop 1.18.18, Electron 42.3.3, macOS 26.2 on Apple Silicon.

    Here is a reproduced screenshot
    https://github.com/user-attachments/assets/df3f46d0-4085-4816-921a-1982138704d7

    Reacted by 李权威
  4. lamioIsNew commented on Sep 13, 2026

    @lamioIsNew
    lamioIsNew
    on Sep 13, 2026
    More actions

    I may also faced the same problem in 1.18.30

    The 搜狗拼音 input can not type normally.

    都是中国人,说中文
    在你的鼠标指针在它的TUI上面,但是打不出中文,按shift也没反应。
    需要你先在其他的界面上打几个中文才能打,不然这个TUI就不让你输入中文

    Reacted by Wan Yi
  5. opencodejr commented on Oct 28, 2026

    @opencodejr
    opencodejrBot
    on Oct 28, 2026
    Contributor
    More actions

    Thanks for the detailed report and the IME links.

    OpenCode Desktop 1.18.16 is part of OpenCode v1. v1 now only gets fixes for critical bugs (data loss, security problems, crashes or breakage with no workaround). Losing the first keystroke is annoying, but you have a workaround (type an English letter or a digit first), so this is unlikely to be fixed in v1.

    We recommend upgrading to OpenCode v2 (the @opencode/cli package, versions 2.x). Related IME issues, most relevant first:

    • Bug: IME composition breaks on the first keystroke in the v2 prompt input #39632: still open. The first IME keystroke is committed as literal text instead of starting a composition, in v2's prompt input. This is the same symptom you describe.
    • Safari: CJK IME composition is aborted mid-input in web app prompt input #38674: closed. A CJK IME composition was cut off mid-input in the web app prompt in Safari.
    • macOS native Chinese IME composition is not cancelled correctly when pressing Esc #37911: closed. Pressing Esc did not cancel the macOS Chinese IME composition properly.

    If you see the same problem with 微信输入法 or 豆包输入法 on v2, or you think this is critical, please reply here and include your v2 version.

  6. opencodejr
    added
    pending close
    triaging
    on Oct 28, 2026
  7. AXuanCreator commented on Oct 29, 2026

    @AXuanCreator
    AXuanCreator
    on Oct 29, 2026
    More actions

    在Opencode v2.1.1版本中,已复现此问题

    Image
  8. opencodejr
    closed this as not plannedon Oct 29, 2026
  9. opencodejr commented on Oct 29, 2026

    @opencodejr
    opencodejrBot
    on Oct 29, 2026
    Contributor
    More actions

    Closing this as not planned. It affects OpenCode Desktop 1.18.16 (v1), which only gets critical fixes, and you can work around it by typing an English letter or a digit first. We didn't hear back that it also happens on v2.

    If the first Chinese keystroke is still lost with 微信输入法 or 豆包输入法 after you upgrade to v2, please reply here with your v2 version and we'll take another look. You may also want to follow #39632, an open issue about the same first-keystroke IME problem in v2's prompt input.

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

Metadata

Metadata

Assignees

  • @Brendonovich
    Brendonovich

Labels

pending closetriaging

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.