Skip to content

Fix: Desktop app menus only work on macOS, windows have rendering issues #9873

Description

@JRH89

Problem Description

The OpenCode desktop app has critical issues on non-macOS platforms:

Current Issues

  • Menus only work on macOS: Windows and Linux users get no menus at all
  • Window rendering problems: Title bar and window decorations have rendering issues
  • Poor error handling: Menu actions fail silently without user feedback
  • Window creation conflicts: App fails to start due to duplicate window creation

Expected Behavior

  • Menus should work on all platforms (Windows/Linux/macOS)
  • Windows should render properly with correct title bars
  • Users should get feedback when actions fail
  • App should start reliably across all platforms

Platform Details

  • Linux: No menus, window rendering issues
  • Windows: Likely affected (based on code analysis)
  • macOS: Works but could benefit from better error handling

Root Cause Analysis

The code has macOS-specific restrictions:

Plus window configuration conflicts between Tauri config and Rust code.

Impact

This makes the desktop app essentially unusable for Windows/Linux users, which is a significant portion of the potential user base.

Activity

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

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions