-
Notifications
You must be signed in to change notification settings - Fork 1
Paste insertion overwrites clipboard without restoring #44
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority:highImportant, blocks functionalityImportant, blocks functionality
Description
Description
When text output method is set to paste (the fast method), the transcribed text is placed on the clipboard and pasted via Cmd+V. The original clipboard content is not reliably preserved and restored after insertion.
Users lose whatever was on their clipboard before the transcription completed.
Expected Behaviour
- Save current clipboard contents before paste insertion
- Place transcribed text on clipboard
- Simulate Cmd+V paste
- Wait for paste to complete
- Restore original clipboard contents
Current Behaviour
Clipboard content is overwritten by the transcribed text and not restored (or restoration is unreliable).
Acceptance Criteria
- Original clipboard content preserved across paste insertion
- Configurable restore delay to account for slow applications
- Works with both plain text and rich text clipboard content
- Graceful fallback if clipboard cannot be read (e.g. image content)
References
src-tauri/src/text_insert.rs(insertion logic)src-tauri/src/clipboard.rs(clipboard operations)- Feature docs:
docs/product/features/text-output/F05-design-principles.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:highImportant, blocks functionalityImportant, blocks functionality