K6nele icon indicating copy to clipboard operation
K6nele copied to clipboard

konele's text doesn't stay in input box after MIUI 14 update

Open nomada-rodrigo opened this issue 1 year ago • 8 comments

Hi. Since MIUI 14 update I had to remove gboard and add konele again. But the text selected after speech recognition doesn't get inserted in the input box of whatever app I'm using. Instead it opens the box asking which app do I want to use. The app I need is never included Cuzco they are all alternative apps, I guess.

Any solutions?

I use a redmi note 9 pro Thanks Rodrigo

nomada-rodrigo avatar Jan 28 '24 12:01 nomada-rodrigo

I have no possibility to test with a MIUI device at the moment, but maybe somebody reading this has. If possible could you add some screenshots to illustrate the issue.

Kaljurand avatar Jan 28 '24 22:01 Kaljurand

Sure. Here they are.

Screenshot_2024-01-29-10-37-34-587_org mozilla firefox Screenshot_2024-01-29-10-38-14-393_com menny android anysoftkeyboard Screenshot_2024-01-29-10-38-24-882_ee ioc phon android speak Screenshot_2024-01-29-10-38-53-078_ee ioc phon android speak Screenshot_2024-01-29-10-39-19-798_ee ioc phon android speak Screenshot_2024-01-29-10-39-28-036_android

nomada-rodrigo avatar Jan 29 '24 09:01 nomada-rodrigo

Looking at the screenshots, where you are using AnySoftKeyboard, it seems this issue is similar to #109 .

I've just tested with AnySoftKeyboard v1.11.177, Android v14 (build AP11.231215.009) and various speech recognizers (Kõnele, FUTO Voice, Dicio, Google, LocalSTT): inserting the recognized text into the edited text field worked with none of them.

It works correctly in apps like Google Photos and Google Keep, when using their own microphone button (i.e. not the one on the keyboard).

So the issue is perhaps with the particular combination of AnySoftKeyboard and the underlying OS version. I have no clear idea how to debug it further.

In general, I'd recommend to directly use Kõnele's own keyboard app (the so called "Speak & swipe keyboard") for dictating into text fields.

Kaljurand avatar Jan 31 '24 21:01 Kaljurand

Hi, When you recommend using the Könele's own keyboard, I'm not sure I understand. The app I have installed is already called "Speak and swipe keyboard" and if I activate it and deactivate ASK, I end up with only the dictate to text function (which doesn't input the result in the text field). If I click the keyboard symbol on the top left, I get a message that says "no previous keyboard".

Can you guide me on how to make that swipe keyboard available?

nomada-rodrigo avatar Feb 01 '24 18:02 nomada-rodrigo

Yes, I'm talking about the Kõnele implementation of the input method editor (IME), with the big yellow button in the center and a small keyboard icon in the top left corner. When you tap the yellow button, it should turn red and your dictated text should start appearing in the active text field. Are you saying that this does not happen?

You can see it in action in https://youtu.be/VLjV8JulEow?t=250 (4:10). It's a bit older version though.

Kaljurand avatar Feb 01 '24 21:02 Kaljurand

Exactly, the dictated text that shows when the button goes red doesn't get transferred to the text field.

I thought there was also a keyboard in "Speak and swipe", where we could type and swipe.

I guess that means I need to find a keyboard that doesn't cause this bug with the "Speak & Swipe" app. I tried a few ones from f-droid but no microphone button shows so that I can "turn on" the dictate to text feature of S&S, so I'm back on to gboard, but I don't like this option as the whole idea of these efforts was to abandon all these "no privacy friendly" apps.

Do you have any suggestions?

nomada-rodrigo avatar Feb 02 '24 06:02 nomada-rodrigo

The "Speak & swipe" offers swiping on the IME panel to move the cursor in the text field, swiping from the large microphone button to execute user-defined rewrite rules, and also typing on user-defined buttons to execute rewrite rules. But there is no traditional keyboard with the letter keys. Some examples are in this video https://www.youtube.com/watch?v=PWngf5onMaE

I am unable to reproduce the "text does not get transferred" bug. Does it only happen in certain apps (e.g. web browser), and with certain fields (e.g. HTML text fields)? Or always? I'm only aware of the issue that in the Google Docs app, when editing a file, the delete key does not work (while it works in Gboard). Screenshots (or even screencasts) would probably be helpful again.

I think Florisboard (https://github.com/florisboard/florisboard) is quite configurable and privacy friendly. You might be able to define swipes that switch to another IME (like K6nele) or configure what the microphone button does. (But I haven't tried recently.)

Kaljurand avatar Feb 02 '24 22:02 Kaljurand

Thank you for your effort into this. And for the Florisboard suggestion. I'll try it out.

nomada-rodrigo avatar Feb 03 '24 10:02 nomada-rodrigo