Integrated: 8344372: Setting width for TRANSPARENT Stage -> gtk_window_resize: assertion 'height > 0'

Thiago Milczarek Sayao tsayao at openjdk.org
Thu Dec 5 14:29:49 UTC 2024


On Sat, 30 Nov 2024 14:56:44 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

> The bug happened when setting only width or height (not both) on a Stage that was oriented by the view size.
> 
> The fix just uses the previous value for width/height if not set.
> 
> The test class is designed to accept more test cases in the "mixed sizing" scenarios.

This pull request has now been integrated.

Changeset: a431801c
Author:    Thiago Milczarek Sayao <tsayao at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/a431801c3d1d76f03c54f7f3451eac4fa8024e8b
Stats:     118 lines in 2 files changed: 118 ins; 0 del; 0 mod

8344372: Setting width for TRANSPARENT Stage -> gtk_window_resize: assertion 'height > 0'

Reviewed-by: kcr, lkostyra

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

PR: https://git.openjdk.org/jfx/pull/1654


More information about the openjfx-dev mailing list