Input field cannot gain focus / cannot enter OpenCode
Quick fix
There is currently no confirmed fix. In Linux Wayland and NVIDIA environments, the app freezes after entering an edit page.
Symptom
Section titled “Symptom”点击首页面板任意"编辑"进入二级页面后,**输入框无法获得焦点/无法输入**, **整个应用卡死**(窗口无法操作,进程仍存活,CPU 正常 1~10%,非死循环)After clicking any "Edit" option on the home-page panel and entering a subpage, **the input field cannot gain focus / cannot accept input**, and **the entire app freezes** (the window cannot be operated, the process remains alive, CPU stays at a normal 1~10%, and it is not an infinite loop).
The reported environment was Ubuntu 26.04.1 LTS, GNOME 50, native Wayland, and an NVIDIA GeForce RTX 3050 driver 595.91.07. The main page remained usable, but after opening any edit subpage, the input field could not receive focus and the app then froze. The main process and WebKitWebProcess remained alive with normal CPU usage; the reporter suspected a deadlock in the main process or WebView event loop.
v3.15.0 previously had a WebKitWebProcess SIGBUS crash. Setting `WEBKIT_FORCE_SANDBOX=0` removed that crash, but the edit-page freeze remained. `GDK_BACKEND=x11`, disabling DMABUF or compositing mode, and switching the XIM input method module did not help, so these attempts are not confirmed fixes.
The current issue provides no confirmed effective fix. The reported environment-variable and XWayland attempts did not resolve the edit-page focus loss and freeze.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.