RFR: 8339984: Open source AWT MenuItem related tests [v3]

Abhishek Kumar abhiscxk at openjdk.org
Wed Sep 18 12:35:35 UTC 2024


On Wed, 18 Sep 2024 12:26:53 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

>>> > What about macOS? The test can be run there.
>>> 
>>> On macOS, it is of the normal font like windows. Should I update the instructions for macOS as well?
>> 
>> Looks like the test isn't applicable to macOS at all. AWT menu bar integrates with the macOS native menu bar at the top, the application can't seem to control how menu is rendered there, so both the item on the menu bar and items in the popup menu remain of regular font size.
>> 
>> On Windows, the menu items in the popup menu use the large font.
>
> Yes, by default apple uses native menu bar option to show the application menubar. 
> 
>>On Windows, the menu items in the popup menu use the large font.
> 
> In Linux also, the menu items in the popup menu use the large font.

Updated the test instruction and also captured menu items font size.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21029#discussion_r1764967902


More information about the client-libs-dev mailing list