modal dialogs implicitly entering full-screen mode.
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/73881f21-95ad-4326-83d9-853b14d7aeb4n%40googlegroups.com.
Are these swing or awt dialogs?
Do you use a JNA API to open them?
I'm confused as to what causes this and I'd love to know more about how the bug is reproduced
so that we can come up with a viable workaround.
I'll try to come up with a minimal reproduction in plain Swing/awt.
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jna-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jna-users/EA921572-E43A-4075-B86B-FA957449925A%40jetbrains.com.
Do you use a JNA API to open them?That seems to be irrelevant. AppKit merely checks for the present of the NSJavaVirtualMachine class, which JavaVM provides, and applies different behavior for newly opened windows amongst other things.I'm confused as to what causes this and I'd love to know more about how the bug is reproducedIt appears this is simply macOS no longer recognizing the process as a (legacy?) Java application and therefore no longer applying compatibility workarounds on their side. Please see the linked issue for a discussion of possible workarounds and a reproduction in the IntelliJ platform. I'll try to come up with a minimal reproduction in plain Swing/awt.so that we can come up with a viable workaround.Honestly, I am not sure this ultimately should be addressed on JNA’s side, but if the goal is to avoid a breaking change on a minor release, for now we can simply continue linking against JavaVM on x86_64 (though that obviously does not work for arm64). For now, I just wanted to raise awareness. Either way, maybe it makes sense to add this to docs/release page.Imho, only the application author can decide what behavior is desired. Frankly, this might currently be causing head scratches the other way around, when Java applications implicitly opt into different AppKit behavior just by loading JNA at runtime.
-NSWindowAllowsImplicitFullScreen False
java -jar myapp.jar -NSWindowAllowsImplicitFullScreen False
-NSRequiresAquaSystemAppearance False