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 2032 - Flicker occurs when restoring window from Dock
Summary: Flicker occurs when restoring window from Dock
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: HG 2.1
Hardware: x86 Mac OS X 10.7
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: triage-2.0.4
Depends on:
Blocks:
 
Reported: 2013-08-12 23:58 UTC by Dan Unzen
Modified: 2015-04-08 01:24 UTC (History)
1 user (show)

See Also:


Attachments
C++ Sample Window App that Flickers on Dock Restore (3.29 KB, text/x-c++src)
2013-08-12 23:58 UTC, Dan Unzen
Details
XCode Project with included App that shows the problem (757.67 KB, application/octet-stream)
2013-08-13 06:43 UTC, Dan Unzen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Unzen 2013-08-12 23:58:19 UTC
Created attachment 1283 [details]
C++ Sample Window App that Flickers on Dock Restore

If you minimize the SDL application (Apple-M) and then restore the application by clicking it in the Mac Dock, you will see a window ficker before the restore occurs. I am including a sample application, just to make sure it isn't some setup issue I forgot to do.
Comment 1 Sam Lantinga 2013-08-13 01:31:23 UTC
I'm not seeing a flicker here on 10.8.  Jorgen, can you reproduce this?
Comment 2 Dan Unzen 2013-08-13 06:21:08 UTC
It may be useful to include the entire Xcode project as the problem may be related to a project setting. Let me know if I should upload that as well.
Comment 3 Dan Unzen 2013-08-13 06:43:44 UTC
Created attachment 1284 [details]
XCode Project with included App that shows the problem

I have included the XCode project that shows the problem on my 10.7.5 Mac.
Comment 4 (disabled) Jørgen Tjernø 2014-01-07 02:50:15 UTC
I see this issue on 10.9 as well. Sam, the thing is that you need to click the Dock icon for the app and *not* the dock icon for the minimized window.
Comment 5 Dan Unzen 2014-01-07 02:57:47 UTC
On my Mac in System Preferences->Dock, I have "Minimize windows into application icon" selected. This may be why I was seeing this issue and others were not.
Comment 6 Dan Unzen 2014-01-07 02:59:54 UTC
Also, I have upgraded to 10.9 as well and the problem still exists, as Jørgen already reported.
Comment 7 (disabled) Jørgen Tjernø 2014-02-26 19:47:21 UTC
Assigning back to Sam, as I don't have time to look at this before 2.0.2.
Comment 8 Ryan C. Gordon 2015-02-19 05:22:21 UTC
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though!
Comment 9 Ryan C. Gordon 2015-04-08 01:24:38 UTC
I think we fixed this at some point. At least, this used to be 100% reproducible for me and now it doesn't seem to happen.

Please reopen if you still see this behavior.

--ryan.