We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2660

Summary: [patch] SDL_IsScreenKeyboardShown doesn't respond to keyboard being dismissed
Product: SDL Reporter: philhassey <phil>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus, phil, philipp.wiesemann
Version: 2.0.3Keywords: triage-2.0.4
Hardware: iPhone/iPod touch   
OS: iOS (All)   
Attachments: A patch for the reported bug.

Description philhassey 2014-07-24 01:20:34 UTC
Created attachment 1785 [details]
A patch for the reported bug.

On iOS, after bringing the keyboard up on screen, if I tap the "dismiss keyboard" button at the bottom right of the screen, SDL_IsScreenKeyboardShown doesn't updated correctly to report that the keyboard has disappeared.

I've attached a small patch that fixes this.
Comment 1 Ryan C. Gordon 2015-02-19 06:32:15 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry
if you got a lot of email from this. This is to help me sort through some bugs
in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4,
though!
Comment 2 Philipp Wiesemann 2015-04-10 22:13:01 UTC
This might be fixed with bug 2798.
Comment 3 Ryan C. Gordon 2015-04-13 00:31:22 UTC
Yeah, this patch is in Mercurial as https://hg.libsdl.org/SDL/rev/bff6f1fecc5d, thanks!

--ryan.