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: SDL_DestroyWindow crashes if the window is FULLSCREEN_DESKTOP and has a large windowed-mode size #1587

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

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 (All), x86_64

Comments on the original bug report:

On 2014-07-30 02:48:52 +0000, Alex Szpakowski wrote:

Created attachment 1797
Test case to trigger the crash

When running the current Mercurial revisions of SDL in OS X, SDL_DestroyWindow will cause a crash if the window being destroyed is in FULLSCREEN_DESKTOP mode and its windowed-mode size is as large or nearly as large as the desktop's size.

This seems to be a new bug (or at least the symptoms are new), possibly introduced when changing to/from FULLSCREEN_DESKTOP in OS X with Spaces was changed to block until the transition is complete.

The minimum window size necessary to trigger the crash seems related to the dock size and whether the dock is visible.

I have attached a small test case which can reproduce the issue for me (using Mac OS 10.9.3.)

On 2014-07-31 15:48:53 +0000, Ryan C. Gordon wrote:

Alfred beat me to fixing this last night:

https://hg.libsdl.org/SDL/rev/e9d67ac0c6f8

--ryan.

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

No branches or pull requests

1 participant