FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

Auto paste doesn't work sometimes.

Open nazifishrak opened this issue 11 months ago • 9 comments

Sometimes after I finish transcribing the transcription gets copied to the clipboard. the place where the cursor is highlighted, it doesn't automatically paste it there. Sometimes it works, sometimes it doesn't.

nazifishrak avatar Dec 08 '25 04:12 nazifishrak

It has never failed for me till now. If it happens again and if you can reproduce it, please attach a video clip or something for me to see. But make sure you have your cursor in a text box before stopping transcription. Thanks for reporting it!

altic-dev avatar Dec 11 '25 18:12 altic-dev

https://github.com/user-attachments/assets/1f5d1429-8fc5-4150-9c1e-ff2ecd2f2573

here is a recording of the issue

nazifishrak avatar Dec 12 '25 00:12 nazifishrak

Thanks for the video! Can you check if you gave accessbility permission? Does this happen often or always?

Has it ever entered into the text box or do you copy from clipboard all the time?

altic-dev avatar Dec 12 '25 01:12 altic-dev

did you try with different apps, is it specific to apps or happens randomly?

altic-dev avatar Dec 12 '25 01:12 altic-dev

This issue happens sometimes randomly independent of the app. I setup clipboard copy since sometimes it works sometimes it doesn't. When it doesn't auto paste I paste from my clipboard.

nazifishrak avatar Dec 12 '25 01:12 nazifishrak

This is part of a log


[16:22:46.822] [DEBUG] [ASRService] ✅ Streaming: 'Can you explain me distributed fault tolerance?' (0.12s)
[16:22:46.833] [DEBUG] [ContentView] stopAndProcessTranscription called
[16:22:46.836] [DEBUG] [ASRService] stop(): cancelling streaming and preparing final transcription
[16:22:46.844] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[16:22:46.844] [DEBUG] [ASRService] Starting transcription with 96000 samples (6.0 seconds)
[16:22:46.844] [DEBUG] [ASRService] stop(): starting full transcription (samples: 96000)
[16:22:46.909] [DEBUG] [ASRService] Streaming transcription task cancelled
[16:22:47.026] [DEBUG] [ASRService] stop(): full transcription finished
[16:22:47.026] [DEBUG] [ASRService] Transcription completed: 'Can you explain me distributed fault tolerance' (confidence: 0.99253625)
[16:22:47.026] [INFO] [ContentView] Transcription finalized (chars: 46)
[16:22:47.037] [DEBUG] [TranscriptionHistoryStore] Added transcription to history (total: 264)
[16:22:47.040] [INFO] [ClipboardService] Copied 46 characters to clipboard
[16:22:47.043] [DEBUG] [ContentView] Typing decision → frontmost: Dia, fluidFrontmost: false, editorFocused: true, willTypeExternally: true
[16:22:51.154] [DEBUG] [ContentView] Captured recording app context: app=Dia, bundleId=company.thebrowser.dia, title=
[16:22:51.242] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[16:22:51.305] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[16:22:51.305] [DEBUG] [ContentView] Model pre-loaded during recording
[16:22:51.931] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 9600)
[16:22:51.932] [ERROR] [ASRService] ❌ Streaming failed: invalidAudioData
[16:22:52.571] [DEBUG] [ASRService] ⚠️ Skipping chunk for ANE recovery
[16:22:53.202] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 30400)
[16:22:53.317] [DEBUG] [ASRService] Streaming chunk CoreML transcription finished in 0.12s
[16:22:53.317] [DEBUG] [ASRService] ✅ Streaming: 'Can you explain?' (0.12s)
[16:22:53.957] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 43200)
[16:22:54.054] [DEBUG] [ASRService] Streaming chunk CoreML transcription finished in 0.10s
[16:22:54.054] [DEBUG] [ASRService] ✅ Streaming: 'Can you explain me distributor?' (0.10s)
[16:22:54.668] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 54400)
[16:22:54.769] [DEBUG] [ASRService] Streaming chunk CoreML transcription finished in 0.10s
[16:22:54.769] [DEBUG] [ASRService] ✅ Streaming: 'Can you explain me distributed fault tolerance?' (0.10s)
[16:22:55.410] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 65600)
[16:22:55.511] [DEBUG] [ASRService] Streaming chunk CoreML transcription finished in 0.10s
[16:22:55.511] [DEBUG] [ASRService] ✅ Streaming: 'Can you explain me distributed fault tolerance?' (0.10s)
[16:22:56.151] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 78400)
[16:22:56.184] [DEBUG] [ContentView] stopAndProcessTranscription called
[16:22:56.184] [DEBUG] [ASRService] stop(): cancelling streaming and preparing final transcription
[16:22:56.189] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[16:22:56.189] [DEBUG] [ASRService] Starting transcription with 78400 samples (4.9 seconds)
[16:22:56.189] [DEBUG] [ASRService] stop(): starting full transcription (samples: 78400)
[16:22:56.253] [ERROR] [ASRService] ❌ Streaming failed: CancellationError()
[16:22:56.674] [DEBUG] [ASRService] stop(): full transcription finished
[16:22:56.674] [DEBUG] [ASRService] Transcription completed: 'Can you explain me distributed fault tolerance?' (confidence: 0.99625653)
[16:22:56.674] [INFO] [ContentView] Transcription finalized (chars: 47)
[16:22:56.683] [DEBUG] [TranscriptionHistoryStore] Added transcription to history (total: 265)
[16:22:56.684] [INFO] [ClipboardService] Copied 47 characters to clipboard
[16:22:56.686] [DEBUG] [ContentView] Typing decision → frontmost: Dia, fluidFrontmost: false, editorFocused: true, willTypeExternally: true
[16:26:51.064] [INFO] [GlobalHotkeyManager] Command mode modifier pressed (hold mode) - starting
[16:26:51.064] [INFO] [GlobalHotkeyManager] Command mode hotkey triggered
[16:26:51.064] [INFO] [ContentView] Command mode triggered
[16:26:51.067] [INFO] [ContentView] Starting voice recording for command
[16:26:51.144] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[16:26:51.843] [DEBUG] [ASRService] Streaming chunk starting CoreML transcription (samples: 9600)
[16:26:51.844] [ERROR] [ASRService] ❌ Streaming failed: invalidAudioData

nazifishrak avatar Dec 12 '25 01:12 nazifishrak

is this the same time as the 'failed' attempt? trying to corelate the logs to your video.

altic-dev avatar Dec 12 '25 01:12 altic-dev

no this shows up even when it succeeds

nazifishrak avatar Dec 14 '25 22:12 nazifishrak

check the recent version and let me know how it goes. added two different ways of pasting - check both and lmk if it fixed the issues :)

altic-dev avatar Mar 22 '26 00:03 altic-dev