fix(whispering): terminal paste and HTTP plugin version mismatch#1575
Open
rob88pt wants to merge 4 commits intoEpicenterHQ:mainfrom
Open
fix(whispering): terminal paste and HTTP plugin version mismatch#1575rob88pt wants to merge 4 commits intoEpicenterHQ:mainfrom
rob88pt wants to merge 4 commits intoEpicenterHQ:mainfrom
Conversation
- Detect terminal windows on Linux via xprop WM_CLASS and send Ctrl+Shift+V instead of Ctrl+V for paste operations - Update tauri-plugin-http from 2.5.4 to 2.5.7 to fix fetch_cancel_body command not found error that broke Groq cloud transcription
- Created docs/git-workflow.md with fork remotes and conflict targets - Bootstrapped memory/ with active context, task list, changelog, decisions, tech context - Added learnings and error logs from session - Created session handoff document
Replace enigo with xdotool for key simulation on Linux: - Use --clearmodifiers to prevent stuck modifier interference - Refocus target window and dismiss menus before pasting - Increase clipboard restore delay for heavy apps (Electron) Fix terminal detection false positive where "st" (suckless terminal) matched "STRING" in xprop output prefix. Now parses only the class values after "=" and uses exact quoted matching for short names. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Updated memory files with "st" matching "STRING" bug discovery - Added learnings: xprop parsing, Alt key menus, log-first debugging - Created session handoff with minimal fix instructions for next session Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xprop WM_CLASSand sendCtrl+Shift+Vinstead ofCtrl+Vfor paste operations, fixing clipboard paste in terminal emulators (GNOME Terminal, Konsole, Alacritty, Kitty, etc.)tauri-plugin-httpfrom 2.5.4 to 2.5.7 to fixfetch_cancel_bodycommand not found error that broke Groq (and other cloud) transcriptionContext
Terminals on Linux use
Ctrl+Shift+Vfor paste, notCtrl+V. Whispering's "clipboard sandwich" technique (copy to clipboard → simulate paste → restore clipboard) was sendingCtrl+Vunconditionally, which worked in GUI apps but not in terminals.The HTTP plugin version mismatch caused
Unhandled Promise Rejection: http.fetch_cancel_body not allowed. Command not found— the JS plugin (v2.5.7) expected a command that the Rust plugin (v2.5.4) didn't have.Test plan
#[cfg(target_os = "linux")]only)