Open Susko3 opened 2 months ago
Is SDL_StartTextInput() being called?
Is SDL_StartTextInput() being called?
It must be. It's working fine for all other platforms. I've not personally tested iOS on a real device, but others have and there are no reports of text input not working.
Please check if you're able to reproduce the issue.
What are the repro steps, assuming I've never used osu? :)
I was hoping you (or someone on the team) might be able to confirm whether or not text input works in the SDL tests on iOS simulator.
The latest release of osu! for iOS can be downloaded from https://github.com/ppy/osu/releases/download/2024.412.1/osu.iOS.ipa. It still uses SDL2, so it might not be of much use. (The original issue is about SDL3.)
Once opened, you can dismiss the first run setup overlay, you can then tap on the osu! cookie and go to settings, where you can find a search text box, tapping on it activates it and calls SDL_StartTextInput()
.
You can verify that keyboard events work by pressing Ctrl-O
, which should toggle settings.
Following up on this issue as I am experiencing the same behavior described in the original post by @Susko3 on an iPad Pro 4th Gen with the latest version (2024.625.2) of Osu and a Logitech Combo Touch keyboard.
Ctrl-O
and other related keyboard commands work fine.I do not have any log files but I can attempt to get some if they would be helpful. All I know so far is the stuff I mention above. I can also attempt to side-load different versions of Osu to see if the behavior is present in those. I am new to this particular game (which I believe the SDL project is not directly connected to,) and all of this is quite new to me. Thanks in advance for any light you can shine on this issue!
I have recorded a video demonstrating the behavior in case it is helpful to you @slouken https://github.com/libsdl-org/SDL/assets/128939759/f677f364-5b81-4fad-b1c7-6e1aaad2a103
SDL_EVENT_KEY_DOWN
andSDL_EVENT_KEY_UP
events are sent just fine, but noSDL_EVENT_TEXT_INPUT
events are sent. Attached are application logs withSDL_HINT_EVENT_LOGGING
enabled. Typing starts at the firstSDL_EVENT_KEY_DOWN
.log3.txt
I don't have iOS simulator setup, so please ping the OP if you need additional info.