Menu Issues
Version
WSL version: 0.58.1.0 Kernel version: 5.10.102.1 WSLg version: 1.0.33 MSRDC version: 1.2.2924 Direct3D version: 1.601.0 Windows version: 10.0.22000.613
WSL Version
- WSL 2
- WSL 1
Kernel Version
5.10.102.1
Distro Version
Ubuntu 20.04
Other Software
Intellij 2022.1 Emacs 26.3 Dolphin 19.12.3 Konsole 19.12.3
Repro Steps
I noticed the issue with Intellij but it affects all applications.
In Intellij, right-click in an editor tab to open the context menu then hover over an entry with a submenu and note that the submenu does not appear. To get the submenu to appear, the mouse needs to be moved over to where the menu is expected to appear.
What is actually happening is that the submenu is getting displayed behind the main window and pops up when the mouse is moved over.
I poked around a little and found that this affects all applications, not just Intellij, with a sampling given above. Also, submenus are where this is most obvious but the main menus are also affected.
Expected Behavior
Menus work as expected
Actual Behavior
As described above
Diagnostic Logs
weston.log excerpt:
[11:08:03.599] app_list_monitor_thread: readlink failed /proc/7797/exe:No such file or directory [11:08:03.599] Client: ClientGetAppidReq: WindowId:0x177 does not have appId, or not top level window. [11:08:04.307] app_list_monitor_thread: readlink failed /proc/7797/exe:No such file or directory [11:08:04.307] Client: ClientGetAppidReq: WindowId:0x178 does not have appId, or not top level window. [11:08:05.028] app_list_monitor_thread: readlink failed /proc/7797/exe:No such file or directory [11:08:05.028] Client: ClientGetAppidReq: WindowId:0x179 does not have appId, or not top level window.
Log entries like these appear as menus are exercised
Source: microsoft/wslg