RFR: 8299348: Size-restricted window can be observed with incorrect dimensions
John Hendrikx
jhendrikx at openjdk.org
Thu Apr 6 12:10:19 UTC 2023
On Mon, 26 Dec 2022 03:03:50 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.
This looks like a good change to me. Code also looks good.
-------------
Marked as reviewed by jhendrikx (Committer).
PR Review: https://git.openjdk.org/jfx/pull/984#pullrequestreview-1374726668
More information about the openjfx-dev
mailing list