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 1920

Summary: Application view not restored after SDL_WINDOWEVENT_RESTORED on iOS7
Product: SDL Reporter: Gabriele Greco <gabriele.greco>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: amaranth72, petr.lefner
Version: HG 2.0   
Hardware: iPhone/iPod touch   
OS: iOS (All)   

Description Gabriele Greco 2013-06-17 04:43:28 UTC
Using iOS7 beta SDL applications are not able to restore their view when you switch out from them using the "home" key and then you switch back to the app both through the iOS scheduler or the program icon.

This is with SDL 2.0 RC2

I tried recompiling the application and SDL with xcode5 and iOS7 SDK but nothing changed, the problem is present for most SDL apps released on the store in the past months.

Install the SDL demo apps is enough to see the problem on real hardware (iphone5), I've yet to try iOS7 emulator.

The effect is that when you go back to the application you se for a fraction of second the "last image" before the application freeze, and then this is replaced with a black frame, the application seems sensitive since it responds to touch events also if you can see the output.

I'm setting this bug as "normal" since iOS7 will be released this fall, but once it will be released it will be a "critical" issue since it will affect all the released applications that have not been patched from now till the release date.
Comment 1 Alex Szpakowski 2015-05-28 02:34:45 UTC
This seems to have been fixed (either in SDL or in iOS itself) sometime in the last two years – I haven't encountered this problem after extensive use of SDL for iOS.