Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

On-screen keyboard on tablets with Windows 8 #592

Lego3 opened this Issue Jan 1, 2015 · 11 comments


None yet
5 participants

Lego3 commented Jan 1, 2015

When creating a new save game it is impossible to write any name when running CorsixTH on a tablet using Windows 8, since the on-screen keyboard doesn't show up.

Confirmed. You can work around it by switching to windowed mode and pulling up the keyboard manually, but that kinda sucks.

I took a look into SDL 2's touch support, and whilst they do support access to on-screen keyboards where applicable, the SDL_HasScreenKeyboardSupport() method returns SDL_FALSE for windows 8 (I checked on my tablet to make sure, same deal). It also doesn't bring up the on-screen keyboard when you call SDL_StartTextInput().

I think if this is to be solved, it's either by figuring out how to manually bring up the keyboard or to fix SDL (... by figuring out how to manually bring up the keyboard, and then sticking it in there).


TheCycoONE commented Jan 1, 2015

This sounds like an upstream SDL issue, anything in their bug tracker?


Lego3 commented Nov 28, 2015

Anyone reading this who has a tablet with Windows 8/10, and can try it out using latest version of SDL and CorsixTH? There might have been changes.


wolfy1339 commented Nov 28, 2015

I can try and test it on latest master and SDL version on my tablet


Alberth289346 commented May 13, 2016

@wolfy1339 any news?


wolfy1339 commented May 14, 2016

Sorry, i have forgotten about this.
Has anyone managed to compile the latest SDL snapshot archive?


TheCycoONE commented May 14, 2016

It isn't fixed in 2.0.4 shipped with 0.60?


wolfy1339 commented May 15, 2016

I can confirm this on Windows 10, latest master revision with SDL 2.0.4 from deps repository

@TheCycoONE TheCycoONE self-assigned this Jun 3, 2017


TheCycoONE commented Jun 3, 2017

We are not actually invoking SDL_StartTextInput on text fields so the OS has no indication that it should bring up the keyboard. See https://wiki.libsdl.org/SDL_StartTextInput


TheCycoONE commented Sep 15, 2017

Potentially fixed by #1245 - Needs someone to test.


TheCycoONE commented Sep 15, 2017

Note that I didn't address the SDL2 upstream issue reported earlier in this ticket. I don't have any way to verify if that's still a problem. Was there an upstream ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment