On Wed, 1 Feb 2023 16:17:02 GMT, Nikita Gubarkov <[email protected]> wrote:

> The `AwtWindow::CheckWindowDPIChange()` hack was introduced for popup windows 
> and breaks maximization logic, so reshape window only if it's not maximized.

src/java.desktop/windows/native/libawt/windows/awt_Window.cpp line 2190:

> 2188:         Devices::InstanceAccess devices;
> 2189:         AwtWin32GraphicsDevice *device = 
> devices->GetDevice(m_screenNum);
> 2190:         if (device && !::IsZoomed(GetHWnd())) {

How does the maximization+drag work in WIndows11 if the maximized bounds are 
set(so the window will not fill the whole screen)? It will reset the zoom state 
during the drag, it will maximize the window on the new screen, or it will 
rescale the window on the new screen?

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

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

Reply via email to