question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cmd-W on macOS incorrectly sends an SDL quit message

See original GitHub issue

As we want to handle document closing within the game itself (one example being #11182), this shouldn’t trigger a game-wide close. This occurs because the default dotnet menu in macOS has a Window > Close item with this shortcut.

The solution is to add a custom nib to the template app without this menu being populated.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Joehuucommented, May 9, 2022

Reopening as it still seems to be a problem.

Kapture 2022-05-09 at 15 37 02 Screen Shot 2022-05-09 at 3 39 04 PM

0reactions
peppycommented, May 10, 2022

Actually it probably does make sense, I’m just used to cmd-w working only on native controls in macOS…

Read more comments on GitHub >

github_iconTop Results From Across the Web

SDL_QUIT problem - SDL Development
I'm having a VERY strange SDL_QUIT problem with SDL1.2.6 in Win32. My game is checking for SDL_QUIT messages to shutdown, but something very ......
Read more >
Why mac os sdl2 program window is not responding?
The program is not responding because there is no message loop that processes OS messages and other stuff. You should add one using ......
Read more >
If an app freezes or quits unexpectedly on Mac
If an app doesn't quit as expected, or it's unresponsive, you can force quit the app (you may lose unsaved changes). Choose Apple...
Read more >
If your Mac restarts and a message appears
If your Mac restarts unexpectedly, an error known as a kernel panic occurred, and a message indicates that your computer restarted because of...
Read more >
DOSBox v0.74-3 Manual
Use this if the wrong or no CD-ROM drive is mounted while using the SDL CD-ROM interface. "number" can be found by "MOUNT...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found