gui icon indicating copy to clipboard operation
gui copied to clipboard

CMD-N does not open a new window on macOS when all windows are closed

Open jbclements opened this issue 9 months ago • 2 comments

What version of Racket are you using? 8.16.900

What program did you run?

Open DrRacket. Close all windows using cmd-W. Try to open a new one using cmd-N. Hear a beep, see no window opening

What should have happened?

A new window should have opened.

If you got an error message, please include it here.

Please include any other relevant details

Could easily be macOS specific. I ran this test on Sonoma 14.6.1

@rfindler reports that the bug is also present in v8.8, and that in 8.3 it does something worse, not allowing you to close the last window.

This could easily also have arisen as a result of changes in the OS, rather than changes in DrRacket.

jbclements avatar May 03 '25 18:05 jbclements

Matthew has (mostly) fixed this with this commit. I'm still hearing a beep when I type cmd-N, cmd-O, cmd-shift-O, and cmd-shift-T (not cmd-, or cmd-q) but things do happen now.

Also there is still a drracket or framework-level bug somewhere with cmd-shift-T.

I'll transfer this issue to racket/gui.

rfindler avatar May 03 '25 19:05 rfindler

I can confirm that the cmd-N bug is gone at HEAD.

mfelleisen avatar May 05 '25 13:05 mfelleisen