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 - Application view not restored after SDL_WINDOWEVENT_RESTORED on iOS7
Summary: Application view not restored after SDL_WINDOWEVENT_RESTORED on iOS7
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-17 04:43 UTC by Gabriele Greco
Modified: 2015-05-28 02:34 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.