RFR: 8228363: ContextMenu.show with side=TOP does not work the first time in the presence of CSS

Kevin Rushforth kcr at openjdk.java.net
Wed Jan 20 16:39:48 UTC 2021

On Wed, 20 Jan 2021 11:57:04 GMT, Robert Lichtenberger <rlichten at openjdk.org> wrote:

> By using the anchor location facility of PopupWindows we can avoid miscalculation of the
> menu's height entirely.
> This fix also cleans up some documentation issues.
> This fix introduces tests that check the correct positioning (test_position_*)
> test_position_withCSS reproduces the problem that is fixed with this patch.
> The other test_position_* cases serve as "proof" that no regressions are introduces.
> They work before and after the fix is introduced.

This changes the specification in a way that will require prior discussion,. It also will need a CSR.


PR: https://git.openjdk.java.net/jfx/pull/381

More information about the openjfx-dev mailing list