RFR: JDK-8340077 : Open source few Checkbox tests - Set2
Harshitha Onkar
honkar at openjdk.org
Fri Sep 20 05:29:35 UTC 2024
On Fri, 20 Sep 2024 05:12:22 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> test/jdk/java/awt/Checkbox/CheckboxBoxSizeTest.java line 42:
>>
>>> 40: public class CheckboxBoxSizeTest {
>>> 41: private static final String INSTRUCTIONS = """
>>> 42: This test must be run at UI Scale of 100% OR 150% or greater.
>>
>> @prsadhuk Tested at different UI Scales on windows and "the box" doesn't seem to scale properly and doesn't match windows native app (used Word -> Font settings to check).
>> I think it is product bug. These tests weren't problemlisted so I may need to create a new JBS bug and problemlist this test and probably CheckboxIndicatorSizeTest on windows.
>
> Looks to be similar to [JDK-8233068](https://bugs.openjdk.org/browse/JDK-8233068)
@prsadhuk Thanks for linking the issue. Yes it looks to be similar.
Unlike XCheckboxPeer.java, WCheckboxPeer.java does not have paintCheckbox(), it is probably done somewhere else for windows.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21094#discussion_r1768001190
More information about the client-libs-dev
mailing list