-
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
Should SDL start with text input enabled? #9309
Comments
@cgutman, thoughts? |
I lean toward disabled by default.
|
I'm also on Team Disabled By Default - had I not just assumed that StartTextInput was always required it would have given us a lot of long-term portability problems on mobile and console; better to make the behavior consistent so games don't have to port from SDL to SDL when moving away from PC. |
I vote for disabled across all platforms. I've always had issue with the current behaviour which I didn't expect and seems more like a bug #4491. I always |
Okay, here's my proposal for SDL 3.0:
Thoughts? @icculus sanity check? |
Assuming people like this proposal, I'm adding it for the SDL 3.0 prerelease, as it's a pretty dramatic behavior change. Feel free to pick it up if you'd like to work on this. |
If I'm understanding that approach correctly, is it in conflict with #9268 ? I haven't looked too closely at the specifics but it seems like the macOS text input event code is incidentally making some IME UI show up, so the way that text input events are generated on macOS would need to change (if possible) in order for a goal of having them independent from IME UI to be achieved, right? |
I've gone back and forth on this.
Users expect their keyboards to input text into applications, but starting with text input enabled means that IMEs can potentially be showing and users get unexpected behavior like #9268
We have the opportunity with SDL 3.0 to document and change the default behavior so applications have to explicitly say when they want text input.
Do people think this is a good idea? @libsdl-org/a-team?
The text was updated successfully, but these errors were encountered: