From e6247fbf2a1ada0e176355a7b1e6094bd896adbf Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 11 May 2026 11:28:56 +0900 Subject: [PATCH] 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 --- src/Common/Dlgcode.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 269b2bda..d73cb551 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -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); }