<AWT Dev> RFR: 8256373: [Windows/HiDPI] The Frame#setBounds does not work in a minimized state
Sergey Bylokhov
serb at openjdk.java.net
Mon Nov 16 03:43:07 UTC 2020
On HIDPI Windows, the Frame#setBounds does not work in a minimized state. The bug found during the development of JDK-8211999. When the frame is iconized and we try to save new bounds for future use, we store the coordinates in the user's space to the field which use device space:
https://github.com/openjdk/jdk/blob/master/src/java.desktop/windows/native/libawt/windows/awt_Frame.cpp#L664
-------------
Commit messages:
- Initial fix
Changes: https://git.openjdk.java.net/jdk/pull/1216/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1216&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8256373
Stats: 129 lines in 2 files changed: 110 ins; 12 del; 7 mod
Patch: https://git.openjdk.java.net/jdk/pull/1216.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1216/head:pull/1216
PR: https://git.openjdk.java.net/jdk/pull/1216
More information about the awt-dev
mailing list