RFR: 8299348: Size-restricted window can be observed with incorrect dimensions [v2]

Marius Hanl mhanl at openjdk.org
Mon May 15 22:50:52 UTC 2023


On Sat, 13 May 2023 17:22:53 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> On Windows, a `Stage` that is restricted by minimum and maximum sizes can briefly be observed to appear with incorrect dimensions when it is first shown. The root cause of this bug is that the native `WinWindow._setBounds` method doesn't respect min/max sizes when calculating the window rect.
>> 
>> Note to reviewers: I've removed the unused `GlassWindow::updateMinMaxSize` method as to not confuse readers where min-max handling actually happens.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address review comments

LGTM

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

Marked as reviewed by mhanl (Committer).

PR Review: https://git.openjdk.org/jfx/pull/984#pullrequestreview-1427466541


More information about the openjfx-dev mailing list