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

Alexander Zuev kizune at openjdk.java.net
Mon Nov 30 19:59:57 UTC 2020


On Mon, 30 Nov 2020 03:42:18 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>>> Quick question: is there any way to manually reproduce this problem or it is only possible programmatically? How can you move iconified window to another display without de-iconifying it?
>> 
>> To reproduce the bug it is necessary to call setBounds method while the window is iconified - actually replacing its normal state bounds. So when the frame will de-iconifying(become normal) it appeared on the new bounds.
>
> Any volunteers for a review?

Ok, i played around with the fix, seems to be working fine.

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

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


More information about the awt-dev mailing list