Feb. 3, 2026
5:20 p.m.
On Tue Feb 3 17:11:12 2026 +0000, Rémi Bernon wrote: > Sure, but even if it seems more consistent with some area, it also is > unnecessary considering the `systray_add_icon` / `systray_remove_icon` > logic. With `enable_taskbar = TRUE` the systray area should *always* be > visible, and doesn't need to be shown on icon addition. > It only needs to be "shown" in `WM_DISPLAYCHANGE`, but that's because we > want to update its position rather than because it was hidden (and your > change there looks good to me). I had some doubts so I checked it this way: 1. Start wine with `wine explorer.exe /desktop=shell,,x11` (because winewayland's desktop=shell does not work fine). 2. Invoke Run dialog or cmd.exe (to call something later because taskbar will disappear). 3. Go to Start->Control Panel->Display Settings and change virtual display resolution to anything else. 4. ... taskbar disappears ... 5. Use already opened run dialog or cmd.exe to invoke taskmgr. Taskmgr should show systray icon but it does not happen due to `show_systray` being set to 0. So I think we should keep the change. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10011#note_128674