-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
DrRacket on Mac OS doesn't hide properly #161
Comments
I just submitted a bug report from inside the application for this, should've checked GitHub first. Files changed between 6.10.1 and 6.11:
How would one build/test this? Is it a matter of creating an executable from racket/DrRacket itself? |
I will add that subsequent experience has shown that right-clicking on DrRacket in the dock and choosing |
Actually, I just realized that I don't think any of the other #lang racket/gui
(define f (new frame% [label "Simple Edit"]
[width 200]
[height 200]))
(define c (new editor-canvas% [parent f]))
(define t (new text%))
(send c set-editor t)
(send f show #t)
(define mb (new menu-bar% [parent f]))
(define m-edit (new menu% [label "Edit"] [parent mb]))
(define m-font (new menu% [label "Font"] [parent mb]))
(append-editor-operation-menu-items m-edit #f)
(append-editor-font-menu-items m-font)
(send t set-max-undo-history 100) If I run this program in DrRacket and press |
Interestingly I tried running the following minimal example program from DrRacket and with mixed results.
|
Just noting that this issue continues in version 6.12. |
I can confirm that I observe the initially observed flicker and non-hide on cmd-H. I'm running version 6.12.0.3--2018-02-01(-/f) [3m], built from git head today. |
Commenting to note that the issue continues in 6.90.0.901. |
I'm encountering some strange behavior when asking DrRacket 6.11 to hide on Mac OS 10.13. I think this is DrRacket specific: other applications, including PLT Games, seem to be hiding normally.
When I click
DrRacket > Hide DrRacket
in the menu bar or, equivalently, press⌘H
, the DrRacket windows flicker away and immediately re-appear. The menu bar shows that the next application is active (as though the hide had worked), but the frontmost DrRacket window is still drawn on top of the other application's windows.Also, if only DrRacket and Finder are open, pressing
⌘H
three times in a row works oddly:⌘H
causes the strange non-hiding behavior described above.⌘H
hides Finder.⌘H
types the characterh
in DrRacket.This works the same way regardless of whether I hold the
⌘
key or re-press it each time. Subsequent presses of⌘H
, even with other typing in between, also type the characterh
until I select a different application and return to DrRacket. I think this behavior may be related to the fact that theDrRacket > Hide DrRacket
menu item is disabled in that case, but, when I get other applications (e.g. Pages) into a state where hiding is disabled, pressing⌘H
plays an unhappy beep rather than typingh
, which seems better. (This works the same way when more applications than just DrRacket and Finder are open, given correspondingly more⌘H
presses.)If I right-click on the DrRacket icon in the dock and choose
Hide
, hiding happens as expected.The text was updated successfully, but these errors were encountered: