https://bugs.winehq.org/show_bug.cgi?id=41508
Bug ID: 41508 Summary: Menu infinitely loops, the application hangs. Product: Wine Version: 1.9.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: johnfound@asm32.info Distribution: ---
It happens on all programs with main menu.
Example how to reproduce:
Start "wine regedit" (it can be reproduced with any other program with main menu)
Press Alt+E in order to open the Edit submenu (or any other Alf+Key shortcut) While holding the Alt key pressed down, after the Edit submenu is opened, press Left or Right arrow keys.
The active submenu start to cycle infinitely through all submenus and the application does not accept any keyboard input. The mouse is captured to the WINE application and not working for the whole desktop environment (tested with XFCE).
In the same time, the main message loop works, because the refresh of the window is normal and for example the hint text in the status bar cycles according to the currently active submenu. The CPU usage is high at least for one of the cores.
The cycle stops when the active application is changed to any other. This change is possible only by using the keyboard (for example by pressing Alt+Tab or Alt+F4), because of the captured mouse.