| Summary: | Mac: In fullscreen, SDL_DestroyWindow/SDL_Quit causes window to briefly appear & disappear in Dock | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alex Szpakowski <amaranth72> |
| Component: | video | Assignee: | (disabled) Jørgen Tjernø <jorgen> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | CC: | phil |
| Version: | HG 2.0 | Keywords: | target-2.0.0 |
| Hardware: | x86 | ||
| OS: | Mac OS X 10.7 | ||
| Attachments: | Simple test program for the issue. | ||
(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. Thanks! --ryan. Fix for issue causing the window to appear in dock when it was being destroyed: http://hg.libsdl.org/SDL/rev/257daea8ac11 Fix for issue causing the window to pop back up when it was being destroyed: http://hg.libsdl.org/SDL/rev/426e78ce52e4 |
Created attachment 1131 [details] 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.