RFR: 8338145: ComboBox popup is in wrong location on first showing [v2]
Christopher Schnick
duke at openjdk.org
Wed Jan 21 12:15:41 UTC 2026
On Wed, 21 Jan 2026 03:47:49 GMT, Christopher Schnick <duke at openjdk.org> wrote:
>> The resize method in the combo box skin does not take into account whether the popup was autofixed or not. This causes a wrong position if the content size is changed, which it often is on initial show.
>>
>> If anyone has a better idea how to actually determine whether a popup was autofixed, then I can improve the check. Currently it relies purely on the popup position and the combo box position.
>>
>> I tested this fix manually on Windows with a reproducer and it works as expected there
>
> Christopher Schnick has updated the pull request incrementally with one additional commit since the last revision:
>
> Improve comment
Actually, I was able to fix the dock issue as well by using a different approach
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2044#issuecomment-3777757620
More information about the openjfx-dev
mailing list