Currently, the OS handles for resources in an unnecessary zoom level are being removed when the OS-event WM_DPICHANGED is triggered (see https://github.com/eclipse-platform/eclipse.platform.swt/pull/1477). This poses a problem because this event is only triggered in 2 situations:
The window is dragged to a monitor with different scaling
The monitor where the window is located changes its scaling
But there is one scenario when this event is not triggered, that is:
A monitor that does not contain the window changes its scaling.
Goal
Do a PoC and see if it's possible to react to another event and trigger the cleanup: WM_DISPLAYCHANGE
Issue
Currently, the OS handles for resources in an unnecessary zoom level are being removed when the OS-event
WM_DPICHANGED
is triggered (see https://github.com/eclipse-platform/eclipse.platform.swt/pull/1477). This poses a problem because this event is only triggered in 2 situations:But there is one scenario when this event is not triggered, that is:
Goal
Do a PoC and see if it's possible to react to another event and trigger the cleanup:
WM_DISPLAYCHANGE