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 2506

Summary: Fullscreen desktop window does not initialize properly in packaged app on osx 10.8 and 10.9
Product: SDL Reporter: Thomas Schatz <thomas.schatz>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED ABANDONED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: amaranth72
Version: 2.0.3   
Hardware: x86_64   
OS: Mac OS X 10.8   

Description Thomas Schatz 2014-04-21 19:36:00 UTC
I created a MacOS-X app using the pySDL2 python bindings to SDL2 and py2app. The underlying program runs correctly in all of the following, not mutually exclusive, situations:
* when it isn't packaged in an app
* when using osx 10.6
* when using windowed mode only

However it doesn't work correctly when packaged in an app and used on osx 10.8 or 10.9 in fullscreen desktop mode with SDL2-2.0.2 or SDL2-2.0.3.
More specifically when the app is launched a new desktop is created by apple's mission control and the screen switches to it, but this desktop remains grey and empty while the app is actually opened in another desktop that can be reached using ctrl+left arrow twice. Moreover, in this desktop where the app was launched the logical 800*600 resolution asked by the program isn't correctly emulated until the user ctrl-arrows to it (the first screen displayed by the app, that was thus drawn before the user switched to the correct desktop is drawn in the upper-left corner of the window using 800*600 physical pixels). Screens displayed after the user switched to the correct window seem to correctly emulate the logical resolution.

With SDL2-2.0.1. on mac os 10.8 and 10.9., there is no problem with the logical resolution emulation and there is no new empty grey desktop opened. Instead, the application window is initially minimized and the user has to click on it in the dock to display it. This happens even when using SDL_WINDOW_SHOWN.
Comment 1 Alex Szpakowski 2014-06-24 04:03:42 UTC
Does this issue still happen for you with the latest version of SDL from Mercurial?
Comment 2 Ryan C. Gordon 2018-08-06 21:20:20 UTC
Hello, and sorry if you're getting dozens of copies of this message by email.

We are closing out bugs that appear to be abandoned in some form. This can happen for lots of reasons: we couldn't reproduce it, conversation faded out, the bug was noted as fixed in a comment but we forgot to mark it resolved, the report is good but the fix is impractical, we fixed it a long time ago without realizing there was an associated report, etc.

Individually, any of these bugs might have a better resolution (such as WONTFIX or WORKSFORME or INVALID) but we've added a new resolution of ABANDONED to make this easily searchable and make it clear that it's not necessarily unreasonable to revive a given bug report.

So if this bug is still a going concern and you feel it should still be open: please feel free to reopen it! But unless you respond, we'd like to consider these bugs closed, as many of them are several years old and overwhelming our ability to prioritize recent issues.

(please note that hundred of bug reports were sorted through here, so we apologize for any human error. Just reopen the bug in that case!)

Thanks,
--ryan.