Skip to content

Pasting a long text in prompt box make Desktop app hang #38932

Closed as not planned

Description

@Itsnishant4

Description

Pasting a long text in prompt box make Desktop app hang. When attempting to paste a large amount of text (approximately 5000+ characters) into the prompt box, the Desktop application becomes unresponsive. The app appears to freeze indefinitely and does not recover on its own. The UI stops responding to any input, requiring a force quit and restart of the application.

Plugins

No response

OpenCode version

Latest version (please specify your version here)

Steps to reproduce

  1. Open the OpenCode Desktop application
  2. Navigate to the prompt/chat input box
  3. Copy a large text file or text content (approximately 5000+ characters or more)
  4. Paste the content into the prompt box using Ctrl+V (or Cmd+V on Mac)
  5. Observe that the application becomes unresponsive and freezes
  6. The application does not recover and requires manual restart

Screenshot and/or share link

No response

Operating System

Mac OS 26.5.2 (25F84)

Terminal

Using Desktop app GUI directly (not via terminal) @

Activity

  1. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The Description field only repeats the title — please provide more detail about what happens when you paste long text (e.g., does the app freeze indefinitely? Does it recover?)
    • Steps to reproduce is empty — please describe how to trigger the hang (e.g., approximate text length, how you paste, what you observe)
    • OpenCode version is empty — please include the version you are using
    • Terminal is empty — please include your terminal (or note if using the Desktop app GUI directly)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Jul 26, 2026
  3. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! The description and steps to reproduce are now clear and helpful. We appreciate you taking the time to fill those in.

  4. BhargavSatya commented on Aug 3, 2026

    @BhargavSatya

    I noticed this bug today. +1. 👍

  5. Hynopsia commented on Aug 4, 2026

    @Hynopsia

    +1

  6. sharifulgeo commented on Aug 8, 2026

    @sharifulgeo

    Save bug 👍

  7. github-actions commented on Oct 9, 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