RFR: 8301616: Drag & maximize to another monitor places window incorrectly (Windows)

Sergey Bylokhov serb at openjdk.org
Fri Feb 3 06:12:52 UTC 2023


On Thu, 2 Feb 2023 21:15:05 GMT, Nikita Gubarkov <duke at openjdk.org> wrote:

> I guess we can apply this AwtWindow::CheckWindowDPIChange() jump for maximized windows, but only for those components which are overriden by maximized bounds (not Integer.MAX_VALUE).

Do you mean apply "CheckWindowDPIChange" to all windows, except maximized in full screen(Integer.MAX_VALUE)? It sounds good, I guess it is not possible to do that in Windows 10. So that change should not break something.

I wonder what is the order of events the Windows send to the application, at what moment do we get the maximization/zoom property - after the drag to the second screen or before?

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

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



More information about the client-libs-dev mailing list