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

Michael Strauß mstrauss at openjdk.org
Sat May 13 17:22:53 UTC 2023


> 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

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/984/files
  - new: https://git.openjdk.org/jfx/pull/984/files/28cc7207..4b75556f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=984&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=984&range=00-01

  Stats: 14 lines in 3 files changed: 0 ins; 3 del; 11 mod
  Patch: https://git.openjdk.org/jfx/pull/984.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/984/head:pull/984

PR: https://git.openjdk.org/jfx/pull/984


More information about the openjfx-dev mailing list