ufal / charles-translator-android

Android app of LINDAT translation service
MIT License
2 stars 0 forks source link

ASR input: previous text content appeares when removed current translation and asr mode still activated #51

Closed matyaskopp closed 2 years ago

matyaskopp commented 2 years ago
  1. press the mic button
  2. say a word: "jedna"
  3. then press cross to remove word "1" (now the input area is empty)
  4. then say another word: "dva"
  5. finally, "1 2" appear in the input area
martinpopel commented 2 years ago

I confirm this bug (only in the newest Beta 1.0.3, not in the official stable version). A simple solution may be: stop recording when the user deletes the input (that's what other similar apps do, if they show the "X" delete button at all).

Another unexpected behavior: when moving the cursor in the middle of the text while recording, the new words are still added at the end. A simple solution: stop recording when the users taps the input box (Google style) OR don't allow moving the cursor in the input box when recording (Microsoft style).

krabatom commented 2 years ago

Yes, after some user interaction (click on cross, start type etc.) should ASR stop listening. I will fix it. Thank you

krabatom commented 2 years ago

should be fixed in version 1.0.4