RFR: 8338145: ComboBox popup is in wrong location on first showing [v3]

duke duke at openjdk.org
Thu Jan 29 10:03:56 UTC 2026


On Wed, 21 Jan 2026 12:15:38 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 two additional commits since the last revision:
> 
>  - Update comments
>  - Improve positioning

@crschnick 
Your change (at version c9f33f355b6ae5fa1d4043cd3cb1b8aa428540cf) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jfx/pull/2044#issuecomment-3816640702


More information about the openjfx-dev mailing list