RFR: JDK-8284445: macOS 12 prints a warning when a function key shortcut is assigned to a menu [v3]

Martin Fox duke at openjdk.org
Mon Nov 6 18:35:09 UTC 2023


On Mon, 6 Nov 2023 17:53:42 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

>> @arapte anything else I could do?
>
> @vlaaad 
> Yes please, I think we should have a test along with this fix. A test is missing for this scenario.
> If a unit test is not feasible, can you please check to add a system test ? ( may be something like setting F1 as accelerator key on a MenuItem results in MenuItem's action getting fired when Function+F1 is pressed )

@arapte The best we can do when it comes to the Function keys is a manual test since JavaFX can't manipulate the fn key. I think I have a manual test I can clean up to use here.

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

PR Comment: https://git.openjdk.org/jfx/pull/1252#issuecomment-1795863098


More information about the openjfx-dev mailing list