On Mon, 19 Jan 2026 11:37:20 GMT, Christopher Schnick <[email protected]> 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 The fix does not look right, perhaps we need to change the auto-fix code instead. Here is what I see on macOS using these steps: - open the reproducer - move the window down such that the combo box bottom edge goes beyond the lower screen boundary - click to show the popup ==> the popup appears way too high: <img width="222" height="175" alt="Screenshot 2026-01-20 at 10 58 33" src="https://github.com/user-attachments/assets/0a98257f-1305-4940-84ee-79fce74fce5a" /> ------------- PR Comment: https://git.openjdk.org/jfx/pull/2044#issuecomment-3774480821
