Skip to content

Bug Report: High CPU Usage and UI Freeze (tauri://localhost) #20008

Closed as not planned

Description

@rahul3103

Description

Since the updates released on March 30, 2026, the OpenCode desktop application has become unusable during text entry. Typing any character causes the tauri://localhost process to spike to over 125% CPU, leading to a complete UI freeze.

Environment

Device: MacBook Pro 14-inch (Nov 2024)
Chip: Apple M4 Pro / 24 GB RAM

Expected Behavior

Smooth text input with minimal CPU overhead on M4 Pro hardware.

Actual Behavior

High CPU usage triggered by input events (keystrokes), likely due to a regression in the webview’s event handling or auto-suggest logic.

Plugins

No response

OpenCode version

v1.3.7

Steps to reproduce

  1. Open OpenCode Desktop.
  2. Begin typing a prompt or code snippet in the editor/input field.
  3. Observe immediate lag in character display.
  4. Check Activity Monitor: tauri://localhost jumps to 125.8% CPU (as seen in screenshots).
  5. UI becomes completely unresponsive/frozen.
  6. Started occurring after updates today.

Screenshot and/or share link

Image

Operating System

macOS Tahoe (Version 26.3.1)

Terminal

Ghostty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on Mar 30, 2026
  2. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

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

  3. SudoSciense commented on Mar 30, 2026

    @SudoSciense

    I'm also experiencing this

  4. ChrisJamesHassell commented on Apr 2, 2026

    @ChrisJamesHassell

    This is has started happening to me recently, although usually while I'm waiting on a response.

  5. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on May 3, 2026
  6. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

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