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

Thiago Milczarek Sayao tsayao at openjdk.org
Wed Dec 4 13:25:47 UTC 2024


On Tue, 3 Dec 2024 22:59:20 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 two additional commits since the last revision:
> 
>  - Move it to a Robot test
>  - Fix test to fail without the fix

I updated the tests to use Robot, using color validation. This ensures that the tests can verify whether the window has correctly shrunk as expected.

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

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


More information about the openjfx-dev mailing list