Dictation inserts into OpenLess's own window when it is frontmost

Aperta
#1,297 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
macos, rust, tauri
Ambito
desktop

Direzione di ricerca

Reproduce the issue with the OpenLess settings window frontmost, then trace the frontmost-app selection and text-insertion path using the supplied insertion diagnostics. Check how the app identifies its own process and whether it can fall back to the previous non-OpenLess app. Done means dictation no longer inserts into OpenLess and follows the expected refusal or fallback behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Environment: OpenLess 2.0.2-Beta.3+build.20261026-c9f49c60 (built from source, ad-hoc signed), macOS 27.2 (26B123) arm64. Traditional pipeline, Gemini ASR + DeepSeek polish, Streaming insertion ON.

Steps
  1. Open the OpenLess settings window and leave it frontmost.
  2. Hold the dictation hotkey (Left Option, push-to-talk), speak a sentence, release.
Expected

The app should refuse to target its own process, or fall back to the last non-OpenLess frontmost app.

Actual

The text is inserted into OpenLess itself. Nothing appears in the app the user was working in. The user hears error beeps and sees nothing happen, and reasonably concludes the feature is broken.

Inserting into yourself is never the intent for a dictation tool.

Evidence
[insert-diagnostics] session_id=50403cb2-9a1e-498a-b325-13d91abb5cf2 phase=completed outcome=Inserted
history entry: appName = "OpenLess", insertStatus = "inserted"
Lingua principale
Rust
Stelle
3.7k
Fork
349
Merge medio
2g 14h
PR unite (30g)
97

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Open-Less/openless

Tutte le issue di Open-Less/openless

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.