You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop app freezes when pasting very large text into session input #13995
This issue appears to be distinct from other freezing issues in the codebase, though there are some related desktop app performance concerns worth monitoring:
This was fixed in commit 7e681b0 ("fix(app): large text pasted into prompt-input causes main thread lock"). The fix optimizes the prompt-input parsing by avoiding unnecessary regex replacements on every buffer flush, short-circuiting text joining for single-part inputs, and using a fast regex test instead of allocating a trimmed string for the empty-check. These changes eliminate the main-thread lock when pasting large text.
Activity
github-actions commentedon Feb 17, 2026
This issue appears to be distinct from other freezing issues in the codebase, though there are some related desktop app performance concerns worth monitoring:
The specific scenario here (pasting large text into session input) has its own performance characteristics that should be investigated separately.
agustaf9 commentedon Feb 23, 2026
Sometimes freezes for several minutes for me
ysm-dev commentedon Feb 26, 2026
This was fixed in commit 7e681b0 ("fix(app): large text pasted into prompt-input causes main thread lock"). The fix optimizes the prompt-input parsing by avoiding unnecessary regex replacements on every buffer flush, short-circuiting text joining for single-part inputs, and using a fast regex test instead of allocating a trimmed string for the empty-check. These changes eliminate the main-thread lock when pasting large text.
eaigner commentedon Aug 17, 2026
Still happens, this is not fixed. Pasted a stack trace in there and it locked up completely.