Integrated: 8338145: ComboBox popup is in wrong location on first showing
Christopher Schnick
duke at openjdk.org
Thu Jan 29 13:52:37 UTC 2026
On Mon, 19 Jan 2026 11:37:20 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
This pull request has now been integrated.
Changeset: 61702913
Author: Christopher Schnick <cr at crschnick.com>
Committer: Ambarish Rapte <arapte at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/61702913217205ec8dddcaf30d2469728767196e
Stats: 16 lines in 1 file changed: 13 ins; 0 del; 3 mod
8338145: ComboBox popup is in wrong location on first showing
Reviewed-by: angorya, arapte
-------------
PR: https://git.openjdk.org/jfx/pull/2044
More information about the openjfx-dev
mailing list