-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
orchard as dependency will cause problems with swing UI applications #162
Comments
But that's supposedly the solution for the problem, right? |
It's not - that line of code is meant to prevent a GUI nuisance from popping up in non GUI projects. The issue is with GUI projects. However that same line of code suggests a fix: set Non-GUI apps need to do nothing. I'd suggest to close this issue by documenting the behavior in cider. |
Ah, yeah - I didn't read the ticket carefully enough. I agree we should document it as the simplest solution. |
This is basically a repost of clojure-emacs/cider-nrepl#610, but the origin of the cider-nrepl issue can be found here, in this repository.
Expected behavior
Using orchard (or any other library that depends on it) on mac does not affect the way how java swing frames are being displayed.
Actual behavior
Using orchard (or, for example cider/cider-nrepl) causes swing frames to "hover" on mac. I can't use cmd+tab to switch to the frame which makes developing very cumbersome.
Steps to reproduce the problem
lein repl
The reason for this behaviour can be found here: https://github.com/clojure-emacs/orchard/blob/master/src-newer-jdks/orchard/java/parser.clj#L134
Environment & Version information
Clojure version
Java version
Operating system
macOS Monterey 12.3.1
The text was updated successfully, but these errors were encountered: