Skip to content
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

On-screen keyboard on tablets with Windows 8 #592

Open
Lego3 opened this issue Jan 1, 2015 · 13 comments
Open

On-screen keyboard on tablets with Windows 8 #592

Lego3 opened this issue Jan 1, 2015 · 13 comments
Labels
C:UI Component enhancement issue type

Comments

@Lego3
Copy link
Contributor

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.

@Dinnerbone
Copy link

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
Copy link
Member

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

@Lego3
Copy link
Contributor Author

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
Copy link
Contributor

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

@Alberth289346
Copy link
Contributor

@wolfy1339 any news?

@wolfy1339
Copy link
Contributor

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

@TheCycoONE
Copy link
Member

It isn't fixed in 2.0.4 shipped with 0.60?

@wolfy1339
Copy link
Contributor

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 TheCycoONE added C:UI Component enhancement issue type labels Jun 3, 2017
@TheCycoONE
Copy link
Member

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
Copy link
Member

Potentially fixed by #1245 - Needs someone to test.

@TheCycoONE
Copy link
Member

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?

@TheCycoONE TheCycoONE removed their assignment Mar 31, 2019
@lewri
Copy link
Member

lewri commented Jun 9, 2020

No response, assume resolved

@TheCycoONE TheCycoONE linked a pull request Jun 9, 2020 that will close this issue
@TheCycoONE
Copy link
Member

This isn't resolved, at least not for the computers I was able to test on. The PR is still open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:UI Component enhancement issue type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants