Integrated: 8299348: Size-restricted window can be observed with incorrect dimensions
Michael Strauß
mstrauss at openjdk.org
Wed Jun 21 16:13:16 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 pull request has now been integrated.
Changeset: a17a7145
Author: Michael Strauß <mstrauss at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/a17a71458def91d206844b7d64e185af75a3c6e0
Stats: 117 lines in 3 files changed: 90 ins; 25 del; 2 mod
8299348: Size-restricted window can be observed with incorrect dimensions
Reviewed-by: jhendrikx, mhanl, arapte
-------------
PR: https://git.openjdk.org/jfx/pull/984
More information about the openjfx-dev
mailing list