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

Mac: In fullscreen, SDL_DestroyWindow/SDL_Quit causes window to briefly appear & disappear in Dock #860

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments


Copy link

@SDLBugzilla SDLBugzilla commented Feb 10, 2021

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Mac OS X 10.7, x86

Comments on the original bug report:

On 2013-05-06 16:36:24 +0000, Alex Szpakowski wrote:

Created attachment 1131
Simple test program for the issue.

If the SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS environment variable is not set to "0", calling SDL_DestroyWindow or SDL_Quit while in fullscreen will cause the app to appear on the left side of the Dock, and the window to appear on the right side (making it expand for both), and then both immediately disappear again (making it shrink back to the previous size). This is only a cosmetic issue, but it's pretty distracting when quitting an SDL2 app.

I've attached code for a very simple test program. I have only tested this on Mac OS 10.8.3.

On 2013-07-12 22:16:06 +0000, Ryan C. Gordon wrote:

(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.)

Tagging a bunch of bugs as target-2.0.0, Priority 2.

This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible.

That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship.

Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment.


On 2014-01-15 19:35:55 +0000, (disabled) Jørgen Tjernø wrote:

Fix for issue causing the window to appear in dock when it was being destroyed:

Fix for issue causing the window to pop back up when it was being destroyed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant