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

Kevin Rushforth kcr at openjdk.org
Tue Jun 13 11:25:53 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

@arapte can you be the primary reviewer on this?

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

PR Comment: https://git.openjdk.org/jfx/pull/984#issuecomment-1589105129


More information about the openjfx-dev mailing list