RFR: 8344372: Setting width for TRANSPARENT Stage -> gtk_window_resize: assertion 'height > 0' [v7]

Thiago Milczarek Sayao tsayao at openjdk.org
Tue Dec 3 22:59:20 UTC 2024


On Tue, 3 Dec 2024 10:27:22 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.
>
> Thiago Milczarek Sayao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add test for Height

The problem is that JavaFx has the wrong size, so I moved it to a Robot test to do color checking at the position.

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

PR Comment: https://git.openjdk.org/jfx/pull/1654#issuecomment-2515719057


More information about the openjfx-dev mailing list