RFR: JDK-8251177: [macosx] The text "big" is truncated in JTabbedPane [v4]

Harshitha Onkar duke at openjdk.java.net
Wed Apr 20 23:55:08 UTC 2022


On Wed, 20 Apr 2022 21:25:26 GMT, Harshitha Onkar <duke at openjdk.java.net> wrote:

>> The exisiting manual test case tests different html styles of JTabbedPane tab title. The tab with "big" as title is seen to be clipped on Aqua LAF for larger font-size. In other LAFs it is observed that bigger font-size can be accommodated without clipping.
>> 
>> The following approaches were evaluated before considering it as not a test issue -
>> 
>> - Aqua LAF has a different tab style compared to other LAFs as seen in the screenshot below. Limiting font size on Aqua LAF requires scaling down the text which might be incompatible with Aqua LAF.
>> 
>> - Removing existing constraints on text and icon is incompatible for Aqua LAF.
>> 
>> Since the above two approaches are incompatible with Aqua and it is not a test issue, a note has been added about clipped text and this test has been removed from problem list
>> 
>> ![image](https://user-images.githubusercontent.com/95945681/164093604-ca7ecbc3-09c2-4338-bd2a-f8c81c12f360.png)
>
> Harshitha Onkar has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - merging master
>  - test summary updated
>  - changed font-size to 3
>  - expanded imports
>  - JTabbedPane test case changes

Updated the test case to use `PassFailJFrame` instead of `Applet` and deleted bug4209065.html file used previously by Applet for this test case.

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

PR: https://git.openjdk.java.net/jdk/pull/8307



More information about the client-libs-dev mailing list