RFR: JDK-8255439: System Tray icons get corrupted when windows scaling changes [v3]
Harshitha Onkar
duke at openjdk.java.net
Mon May 9 21:34:00 UTC 2022
On Mon, 9 May 2022 20:50:56 GMT, Phil Race <prr at openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> formatting changes
>
> src/java.desktop/windows/native/libawt/windows/awt_TrayIcon.cpp line 262:
>
>> 260: // (generated when DPI changes)
>> 261: case WM_WINDOWPOSCHANGING:
>> 262: if (hwnd == AwtTrayIcon::sm_msgWindow) {
>
> I'd just like to be sure .. this message is not sent when an application window is moved, right ?
> It is just sent to the tray icon window .. and so happens only if someone did something like re-orged tray icons ..
> or the dpi changes ? In other words I'd like to be sure it is a rare event.
@prrace So far, based on testing the message is received only for tray icon window. To be doubly sure, I'll test the scenarios when we receive this message on Tray Icon's Window procedure.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8441
More information about the client-libs-dev
mailing list