<AWT Dev> RFR: 8256373: [Windows/HiDPI] The Frame#setBounds does not work in a minimized state

Alexey Ivanov aivanov at openjdk.java.net
Mon Nov 30 23:13:04 UTC 2020


On Mon, 16 Nov 2020 03:02:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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

Marked as reviewed by aivanov (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/1216


More information about the awt-dev mailing list