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 1840 - Mac: In fullscreen, SDL_DestroyWindow/SDL_Quit causes window to briefly appear & disappear in Dock
Summary: Mac: In fullscreen, SDL_DestroyWindow/SDL_Quit causes window to briefly appea...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Mac OS X 10.7
: P2 minor
Assignee: (disabled) Jørgen Tjernø
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.0
Depends on:
Blocks:
 
Reported: 2013-05-06 16:36 UTC by Alex Szpakowski
Modified: 2014-01-15 19:35 UTC (History)
1 user (show)

See Also:


Attachments
Simple test program for the issue. (730 bytes, application/octet-stream)
2013-05-06 16:36 UTC, Alex Szpakowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Szpakowski 2013-05-06 16:36:24 UTC
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.
Comment 1 Ryan C. Gordon 2013-07-12 22:16:06 UTC
(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.
Comment 2 (disabled) Jørgen Tjernø 2014-01-15 19:35:55 UTC
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