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

Ambarish Rapte arapte at openjdk.org
Wed Jun 21 16:07:13 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 too

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

Marked as reviewed by arapte (Reviewer).

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


More information about the openjfx-dev mailing list