-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: SDLActivity (Java) key & edit events under API 33 (TIRAMISU) #6170
Comments
I think this takes care of the big issues, yes? |
I apologize for a very late response.
The rest is surely only an optional discussion. |
So we are setting the inputType to InputType.TYPE_TEXT_FLAG_MULTI_LINE, and I don't see any documentation for EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE. Can you check the current main code and see if that works, and if it doesn't, can you please provide more information on this option and why it's necessary? |
The current main did not work (Tiramisu). I treat 2.24.0 as current for Android. Up to my knowledge, there were no changes between 2.24.0 and 2.24.1 in the android-project subfolder. |
You don't need to provide a link to your app, I was hoping for a link to the documentation for the option that you're setting. So, just to be clear, you tested SDL 2.25.0 with change 6acc7a5, and it did not work in the Tiramisu emulator, is that correct? |
I'm sorry. I have (completely) misunderstood you (with current). I'll verify (main ~ 2.25.0) immediately and let you know. |
It seems "to work for me" (if I didn't make any mistake during the build). Roughly verified the key input issues (main '2.25.0' SHA 4227a0b) under Android emulator:
PS.
|
Great, thanks! |
I'd like to suggest at least one change to the class
DummyEdit
:CURRENT
MODIFIED
I might suggest more modifications but they seem quite specific (personal/individual choice):
... and respectively (@line 1867):
DummyEdit instead of View.
All the proposed modifications have already been verified.
Ad 1)
The (TIRAMISU) trouble arises in
SDLInputConnection.commitText(...)
which provides (let's say) 'separated text chunks' (discarding the context on each EOL).Many thanks for you great work!
The text was updated successfully, but these errors were encountered: