[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    RFR: 8299348: Size-restricted window can be observed with incorrect dimensions
From:       Michael =?UTF-8?B?U3RyYXXDnw==?= <mstrauss () openjdk ! org>
Date:       2022-12-26 3:10:42
Message-ID: 9zNyOtonYujDxiJZQQs_Xtx8ewS63NLff04eebFzEWU=.8ddb924d-d8cd-49bb-a61e-ec2c447c9ad0 () github ! com
[Download RAW message or body]

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.

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

Commit messages:
 - Fixed min/max window size
 - Failing system test

Changes: https://git.openjdk.org/jfx/pull/984/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=984&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299348
  Stats: 120 lines in 3 files changed: 93 ins; 25 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/984.diff
  Fetch: git fetch https://git.openjdk.org/jfx pull/984/head:pull/984

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic