-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
using on-screen keyboard on iOS crashes in event poll #11708
Comments
We'll need a call stack to see what's going on here. |
Somewhere it looks like the 'committedText' gets messed up. I don't see where, though. |
Can you try the latest SDL3 code? We just made a change to reset the committed text when text input is stopped. |
I can't really drop-in SDL3 right now, but I'll take a look at the diff from 2.30.8 and see if the fix fixes it for me. |
The changes from 2.30.8 to most recent trunk in uikitcontroller for committedText don't make any difference I can see. I copied the few changes over, no difference. |
Okay, can you reproduce this with any of the SDL test programs? checkkeys is a good one to try out. |
Are you still able to reproduce it if you use the |
Well hell. When I use XCode to build it, the library works. So I guess this should be closed... |
I've almost got my app running on iOS now, but there's one problem.
In text entry fields, I call SDL_StartTextInput() and the on-screen keyboard pops up as expected. But when I press any 'key', the app crashes.
According to XCode this is happening in SDL_PollEvent() (I changed to using SDL_WaitEventTimeout() with the same result).
TBF, I'm compiling SDL2 manually, but I use the configure script except I also add the UIKIT defines so it'll work on iOS. Anyway, I'm unsure how to proceed...
The text was updated successfully, but these errors were encountered: