On Thu, 16 Mar 2023 04:30:47 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> 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®ion"(for non-editable) so I think we should only fix it for > editable one and not do anything for non-editable one.. After some digging, I agree with Prasanta. The native example given works as described. So for non-editable comboboxes, the popup should mostly overlap the combobox. However, there was still a popup location difference between a non-editable combobox with a border, so I included that fix as well. In summary, the popup now matches the native components Prasanta referenced above. ------------- PR: https://git.openjdk.org/jdk/pull/12750