Skip to content

[🐞 BUG] Write Mode cannot read selected text from any Application #259

@Benjamin-Justice

Description

@Benjamin-Justice

Describe the bug
Write Mode cannot read selected text from any Application I have tested.
It only works when I type into the playground text field within the FluidVoice App.

I have confirmed that Accessibility permissions are present.

Dictation works, Dictation with AI Enhancement works.

To Reproduce
Steps to reproduce the behavior:

  1. Install Fluid
  2. Complete Onboardibg Steps
  3. Verify AI enhancement works
  4. Open an application with a text field (e.g. Zed)
  5. Type "This is a spectacular situation".
  6. Select the text
  7. Start Write Mode ("right option"+R hotkey)
  8. dictate "translate to german"
  9. Wait until prompt is processed
  10. Selected Text is replaced with "Bitte geben Sie den Text ein, den ich für Sie ins Deutsche übersetzen soll." (german for "please provide the text, which I should translate to German for you.")

Expected behavior
I expected the selected text to be replaced with a german translation for the selected text.
In this case, something like "Dies ist eine spektakuläre Situation."

Screenshots
Will provide if you can tell me what would be helpful

Environment:

  • macOS Version: Tahoe 26.4 (25E246)
  • App Version: 1.5.10 (8)
  • Architecture: Apple Silicon

Additional context
Provider tested:

  • OpenRouter (API Key)

Models tested:

  • Gemini 3.1 Flash Lite Preview
  • Gemini 3 Flash
  • GPT4.1-Mini

Apps tested:

  • Zed
  • Google Chrome (in a Google Docs document)
  • Visual Studio Code
  • Obsidian

Crash Logs

fluid-write-mode-issue-partial.log

Excerpt regarding text selection:

[16:51:45.393] [INFO] [GlobalHotkeyManager] Rewrite mode shortcut triggered - starting
[16:51:45.395] [INFO] [GlobalHotkeyManager] Rewrite mode hotkey triggered
[16:51:45.396] [DEBUG] [GlobalHotkeyManager] GlobalHotkeyManager: rewrite callback path, isRunning=false, isReady=true
[TextSelectionService] Selection capture start
[16:51:45.437] [DEBUG] [ContentView] Captured recording app context: app=Code, bundleId=com.microsoft.VSCode, title=
[16:51:45.437] [DEBUG] [TextSelectionService] [TextSelectionService] Selection capture start
[TextSelectionService] Trying frontmost app fallback: com.microsoft.VSCode pid=840
[16:51:45.437] [DEBUG] [TextSelectionService] [TextSelectionService] Trying frontmost app fallback: com.microsoft.VSCode pid=840
[TextSelectionService] Frontmost app fallback could not resolve focused element
[TextSelectionService] Selection capture failed: no selected text found
[16:51:45.439] [DEBUG] [TextSelectionService] [TextSelectionService] Frontmost app fallback could not resolve focused element
[16:51:45.439] [DEBUG] [TextSelectionService] [TextSelectionService] Selection capture failed: no selected text found
[16:51:45.439] [INFO] [ContentView] Rewrite mode triggered, text captured: false
[16:51:45.440] [INFO] [ContentView] No text selected - starting in write/improve mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions