On Thu, 30 Apr 2026 07:06:39 GMT, Christopher Schnick <[email protected]> wrote:
>> Pabulaner IV has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - 8359108: Mac - When Swing starts First, native application menu doesn't >> work for JavaFX >> - 8359108: Mac - When Swing starts First, native application menu doesn't >> work for JavaFX > > I just noticed that the desktop methods of AWT like > `Desktop.getDesktop().setPreferencesHandler()` do no longer work in newer > releases of JavaFX. When you first start AWT then JavaFX, they worked fine > previously. Now, no menu option is showing up anymore. I haven't fully > determined yet which build exactly introduced this regression, but this PR > looks to be the most obvious one. Would that be an intentional consequence of > this PR? @crschnick No that would not be intentional. It seems unlikely that this PR is the cause unless your app deliberately mixes top level Swing and JavaFX windows. But I can't say for sure until I have a chance to look into this next week. Do you have standalone code that reproduces the bug? ------------- PR Comment: https://git.openjdk.org/jfx/pull/1904#issuecomment-4357818370
