On Wed, 8 Oct 2025 00:31:20 GMT, Harshitha Onkar <[email protected]> wrote:

> > It does not seem to make a difference in my testing. The test still fails 
> > the same way. Did you add any other changes in your testing when it passed 
> > for you?
> 
> I tested the Apple screen bar mnemonics on Finder and IntelliJ IDE 
> application. They worked fine. (I tested the native behavior and suggested to 
> double-check the mnemonics behavior for Frame menu)
> 
> The suggestion was to verify adding menu bar to the Frame and then test it by 
> setting the "apple.laf.useScreenMenuBar" to true and false to see if the 
> mnemonics works in both cases.

I have manually added a JMenuBar to the frame in `bug4624207.java` and ran the 
test with both "apple.laf.useScreenMenuBar" set to true/false. In both cases, 
the test still fails.

I have looked further into whether macOS officially supports mnemonics, and 
there are a few occurrences (as you've given examples of some) where mnemonics 
work, but there seems to be no official documentation that I can find that 
confirms that this is supported. As such, I believe this change can continue 
as-is for now.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27371#issuecomment-3428053084

Reply via email to