RFR: 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Apr 14 07:03:30 UTC 2022


JDK-4517214 was fixed for Metal L&F where JComboBox having TitledBorder used to have double height compared to normal JComboBox.
The issue is still observed for macos for Aqua L&F where still double height is seen.
Fix is to prevent adding border insets height to combobox size as was done for [MetalComboxUI.getMinimumSize[](url)](https://github.com/openjdk/jdk/blame/master/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java#L384)
The closed test is automated and moved to open.

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

Commit messages:
 - 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS
 - 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS
 - 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS

Changes: https://git.openjdk.java.net/jdk/pull/8237/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8237&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-7132796
  Stats: 107 lines in 2 files changed: 100 ins; 7 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8237.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8237/head:pull/8237

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



More information about the client-libs-dev mailing list