-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Open
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Description
🐛 Bug Report
中文版本
描述 (Description)
在 macOS 15.1 (Sequoia) 系统上,OpenCode Desktop 应用启动后显示黑屏,无法正常使用。
具体表现:
- 应用窗口打开时只显示黑屏,没有 UI 渲染
- 除了「关于」「退出」「隐藏」菜单外,其他功能均不可用
- 菜单栏的 OpenCode → Reload Webview 也无响应
- CLI 版本 (
opencode命令) 完全正常,可以正常使用 TUI 界面
尝试过的解决方法(均无效): - 完全卸载重装 Homebrew Cask
- 删除 ~/Library/Application Support/ai.opencode.desktop 目录
- 删除 ~/Library/Caches/ai.opencode.desktop 目录
- 删除
/.local/share/opencode、/.cache/opencode、~/.config/opencode 目录
环境信息 (Environment)
- 操作系统: macOS 15.1 (Sequoia) - Build 24B2082
- 硬件: MacBook Pro 16-inch (Model MX2X3CH/A)
- 芯片: Apple M4 Pro (14 核: 10 性能 + 4 能效)
- GPU: Apple M4 Pro (20 核, Metal 3)
- 内存: 24 GB
- OpenCode 版本: 1.2.27
- 安装方式: Homebrew (
brew install --cask opencode-desktop) - 终端: ohmyzsh
插件 (Plugins)
无(全新安装,默认插件)
重现步骤 (Steps to reproduce)
- 在 macOS 15.1 系统上通过 Homebrew 安装 OpenCode Desktop
- 打开 OpenCode Desktop 应用
- 等待应用加载完成
- 观察:应用窗口显示黑屏,无 UI 渲染
截图/视频 (Screenshot/Video)
[请附上黑屏截图或 Loom 视频链接]
相关 Issues
- OpenCode desktop version black screen issue #15799: macOS desktop black screen issue (相同症状)
- black screen only on desktop App. working well on TUI #14338: Black screen only on desktop App, working well on TUI (相同症状)
- The OpenCode desktop app shows a white screen on startup. #17035: WebKit crash 导致白屏 (相同根因)
- Desktop macOS white screen from WebKit crash on theme attribute mutation #15967: Desktop macOS white screen from WebKit crash on theme attribute mutation (WebKit 崩溃)
额外信息 (Additional Context)
这个问题与 #17417 完全一致:
- 相同操作系统版本 (macOS 15.1)
- 相同症状 (黑屏 + CLI 正常)
- CLI/TUI 版本完全正常
CLI 命令opencode在终端中运行正常,TUI 界面可以正常渲染和交互,只是 Desktop App 的 WebView 渲染层有问题。
English Version
Description
On macOS 15.1 (Sequoia), OpenCode Desktop application shows a black screen after launch and is unusable.
Symptoms:
- Application window opens but only shows a black screen, no UI rendered
- Only "About", "Quit", and "Hide" menu items work
- Menu bar's OpenCode → Reload Webview is unresponsive
- CLI version (
opencodecommand) works perfectly fine with full TUI functionality
Attempted solutions (all failed): - Complete uninstall and reinstall via Homebrew Cask
- Deleted ~/Library/Application Support/ai.opencode.desktop
- Deleted ~/Library/Caches/ai.opencode.desktop
- Deleted ~/.local/share/opencode, ~/.cache/opencode, ~/.config/opencode
Environment
- Operating System: macOS 15.1 (Sequoia) - Build 24B2082
- Hardware: MacBook Pro 16-inch (Model MX2X3CH/A)
- Chip: Apple M4 Pro (14 cores: 10 performance + 4 efficiency)
- GPU: Apple M4 Pro (20 cores, Metal 3)
- Memory: 24 GB
- OpenCode Version: 1.2.27
- Installation Method: Homebrew (
brew install --cask opencode-desktop) - Terminal: ohmyzsh
Plugins
None (fresh install, default plugins)
Steps to reproduce
- Install OpenCode Desktop via Homebrew on macOS 15.1
- Open OpenCode Desktop application
- Wait for application to load
- Observe: Application window shows black screen, no UI rendered
Screenshot/Video
[Please attach black screen screenshot or Loom video link]
Related Issues
- OpenCode desktop version black screen issue #15799: macOS desktop black screen issue (same symptoms)
- black screen only on desktop App. working well on TUI #14338: Black screen only on desktop App, working well on TUI (same symptoms)
- The OpenCode desktop app shows a white screen on startup. #17035: WebKit crash causing white screen (same root cause)
- Desktop macOS white screen from WebKit crash on theme attribute mutation #15967: Desktop macOS white screen from WebKit crash on theme attribute mutation (WebKit crash)
Additional Context
This issue is identical to #17417:
- Same OS version (macOS 15.1)
- Same symptoms (black screen + CLI works)
- CLI/TUI version works perfectly
The CLI commandopencodeworks normally in terminal with full TUI rendering and interaction. Only the Desktop App's WebView rendering layer is broken.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
macOS 15.1
Terminal
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop