sspanak / tt9

A T9 keyboard for Android devices with a hardware keypad.
Apache License 2.0
235 stars 39 forks source link

Highlighting on Tiq Mini M5 #478

Open alexknop opened 6 months ago

alexknop commented 6 months ago

Hello,

Strange issue I am seeing when using TT9 is items become highlighted when they shouldn't be. Either the bottom bar is highlighted or pop-up items are highlighted. Screenshot_20240326-110929 Screenshot_20240326-110943

I am curious if you know where this issue may lie. By itself (without TT9 installed) the phone works with the keypad's navigation arrows and select button and it only has Google Keyboard (qwerty on the touchscreen) as its keyboard. Perhaps there are two IMEs interfering?

sspanak commented 6 months ago

You can't have two keyboards active. There may be a hotkey manager running in the background, like on Qin F21 Pro, but not two keyboards.

When does highlighting occur? Is it after you send a message? Does it happen in all apps?

alexknop commented 6 months ago

right, I am not suspecting 2 keyboards, but what could be managing the navigation keys functions and maybe that is conflicting with TT9 I am only noticing it in the messaging app. It seems to be random. Sometimes I'll select the text box to type and the bottom status bar will already be highlighted like in the photo.

alexknop commented 6 months ago

Nevermind, I am also seeing it when using the browser application. So it is not specific to just the messaging app.

sspanak commented 6 months ago

right, I am not suspecting 2 keyboards, but what could be managing the navigation keys functions and maybe that is conflicting with TT9

Well, after discovering that the volume buttons on Qin F21 Pro do not work properly when there is no status icon, I really don't know what could be conflicting anymore...

Anyway, the comments in #300 and #393 suggest that in some cases, when key presses must be ignored, they are not ignored correctly. I am not sure what is the correct way (I think it is not the same on all phones), but you could try out an experimental option: go to Settings, scroll down to the version number and click it. Then look for "Keypad Handling Mode" and change it to something different than "normal". This will cut all key processing within Traditional T9 and return the control to Android. The downside is, you cannot type anything this way, you can just navigate around. But for the purpose of testing, it shouldn't matter. If the problem occurs often enough, just open and close the messaging app a couple of times, and see if it stops getting highlighted.

Another thing is, I have tested on Android up to 11 only. The APK isn't even built for the latest Android API, so there may be compatibility issues, indeed. I do intend to upgrade and at least test in the emulator, but I was thinking of doing some feature requests that have been waiting for a year now.

Finally, have you used another keyboard long enough to verify this isn't a problem with the phone itself?

alexknop commented 6 months ago

I tried changing that setting and the bottom bar was still highlighted when I went back to the messaging app. I think it could be an Android 13 thing. This is the first time I've noticed it and it's with an Android 13. We can park this for now until we can get another Android 13 device to test it on.

sspanak commented 5 months ago

@alexknop, Android 13 and 14 are officially supported since version 31.0. TT9 works without issues, at least in the emulator. You may want to update and see if the problem is resolved.