RFR: 7132796: [macosx] closed/javax/swing/JComboBox/4517214/bug4517214.java fails on MacOS
Sergey Bylokhov
serb at openjdk.java.net
Thu Apr 14 09:20:09 UTC 2022
On Thu, 14 Apr 2022 06:50:10 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> 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. CI testing on all platform is ok.
test/jdk/javax/swing/JComboBox/TestComboBoxHeight.java line 48:
> 46:
> 47: public static void main(String[] args) throws Exception {
> 48: try {
Can we check all L&Fs?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8237
More information about the client-libs-dev
mailing list