On Tue, 14 Mar 2023 17:54:58 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:

>> src/java.desktop/macosx/classes/com/apple/laf/AquaComboBoxPopup.java line 
>> 193:
>> 
>>> 191:             popupBoundsY += inset.top + inset.bottom;
>>> 192:         }
>>> 193: 
>> 
>> Did we check where the popup appears for the native components?
>
> It does pop up on native components now that it's checked. I just tried 
> applying the same fix for non-editable comboBoxes but the position doesn't 
> change. Seems to be something overriding the position for non-editable 
> comboBoxes. Looking into this

For editable comboboxes, the popup is placed below the combobox 
but for non-editable comboboxes, the popup is placed obscuring the selected 
item showing the list with the selected item  being highlighted
This can be seen in SystemPreference->Date&Time(for editable) and "Open 
Language&region"(for non-editable) so I think we should only fix it for 
editable one and not do anything for non-editable one..

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

PR: https://git.openjdk.org/jdk/pull/12750

Reply via email to