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 5025 - Closing window in full screen mode leaves empty desktop
Summary: Closing window in full screen mode leaves empty desktop
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: don't know
Hardware: x86 macOS 10.15
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.16
Depends on:
Blocks:
 
Reported: 2020-03-11 18:03 UTC by gomi2003
Modified: 2020-07-16 18:29 UTC (History)
0 users

See Also:


Attachments
Screen grab of mission control with a blank desktop, showing the minimize button. (57.02 KB, image/png)
2020-03-11 18:03 UTC, gomi2003
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gomi2003 2020-03-11 18:03:33 UTC
Created attachment 4248 [details]
Screen grab of mission control with a blank desktop, showing the minimize button.

In the game Factorio, the following triggers the bug I'm describing:
- Start application
- Put application in full screen mode
- Perform updates. This will close the window and open a new one.

Result: The window that was closed leaves a blank (= black) desktop behind in macOS mission control. macOS behaves a bit strange when you try to activate this desktop. This was reported on their forum (https://forums.factorio.com/viewtopic.php?f=48&t=70191), but they replied that it's an SDL bug/problem.

Expected behaviour: the desktop should be removed the moment the window is closed.

Work around: When the application is closed, the empty desktop(s) disappear as well. Also it is possible to minimize the blank desktops from mission control, which will also cause them to cease to exist.

Note: Since I'm not the developer I don't know the version of SDL, but of course I expect it's the most recent stable release.