http://bugs.winehq.org/show_bug.cgi?id=58548
Bug ID: 58548 Summary: user32/menu: Sub‑menus always open instantly – TrackPopup/TrackMenu code ignores SPI_GETMENUSHOWDELAY and MenuShowDelay in registry Product: Wine Version: 7.7 Hardware: aarch64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: falcon4@gmail.com
Observed: Registry setting HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay is set to the intended default value (400). SystemParametersInfoW(SPI_GETMENUSHOWDELAY) returns the configured value (e.g. 400 ms). Yet any Win32 app (Task Manager, Notepad++, etc.) opens sub‑menus with zero delay; mousing past them collapses/opens instantly.
Expected: Menu pop‑ups wait <MenuShowDelay> ms before showing, matching Windows behaviour since Win 95.
This bug leads to having to "tightrope" sub-menu selections, carefully moving the cursor along a selection to prevent the sub-menu from collapsing.
This was reported back in 2009 by a user that was advised to file a Bugzilla report, but none seems to have ever been made: https://forum.winehq.org/viewtopic.php?t=4147
At a quick glance through /wine/dlls/win32u/menu.c, it seems like menu-show delays were never implemented at all, and I can only hope this is worth fixing to improve user experience after all these years :)