mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-14 00:21:35 +00:00
Windows: avoid duplicate tray notifications
Remove the duplicate Shell_NotifyIconW(NIM_MODIFY) call from the tray balloon helper. On Windows 11, the shell can queue the repeated NIF_INFO request and show the same unmount notification twice. Fixes #1630
This commit is contained in:
@@ -10569,8 +10569,6 @@ void TaskBarIconDisplayBalloonTooltip (HWND hwnd, wchar_t *headline, wchar_t *te
|
||||
StringCbCopyW (tnid.szInfoTitle, sizeof(tnid.szInfoTitle), headline);
|
||||
StringCbCopyW (tnid.szInfo, sizeof(tnid.szInfo),text);
|
||||
|
||||
// Display the balloon tooltip quickly twice in a row to avoid the slow and unwanted "fade-in" phase
|
||||
Shell_NotifyIconW (NIM_MODIFY, &tnid);
|
||||
Shell_NotifyIconW (NIM_MODIFY, &tnid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user