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

Thiago Milczarek Sayao tsayao at openjdk.org
Mon Dec 2 22:17:00 UTC 2024


> 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:

  Wait before setting size and after to allow realization

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1654/files
  - new: https://git.openjdk.org/jfx/pull/1654/files/fd8c3efa..7c14539b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1654&range=04
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1654&range=03-04

  Stats: 17 lines in 1 file changed: 13 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jfx/pull/1654.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1654/head:pull/1654

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


More information about the openjfx-dev mailing list