RFR: 8244400: MenuItem may cache the size and did not update it when the screen DPI is changed

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Dec 7 03:55:09 UTC 2022


The MenuItemLayoutHelper.clearUsedParentClientProperties must be called automatically when the DPI was changed. 
Workaround added in the test for this bug is removed.

CI tests are ok.

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

Commit messages:
 - 8244400: MenuItem may cache the size and did not update it when the screen DPI is changed
 - 8244400: MenuItem may cache the size and did not update it when the screen DPI is changed

Changes: https://git.openjdk.org/jdk/pull/11551/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11551&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8244400
  Stats: 19 lines in 2 files changed: 8 ins; 6 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/11551.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11551/head:pull/11551

PR: https://git.openjdk.org/jdk/pull/11551



More information about the client-libs-dev mailing list