-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't select menu item in Motif based software (nedit, ddd, xmgrace) #141
Comments
@dpeterc , thanks for reporting, I confirmed the issue locally. There is similar problem is observed with steam (tracked by #6), in steam, the menu selection can be moved and confirm the choice by [enter] key from keyboard, but not by mouse click. But this issue is not exactly same since menu choice can't be confirmed by [enter] key. But very high chance the root of issue could be common common, it looks the keyboard (for up & down selection) and mouse events are not delivered to the correct window. |
I have tested the bug again on WSLg 1.0.22, and it remains unsolved. |
@dpeterc , thanks for checking again. This issue hasn't been addressed yet. Once it gets fixed, we will update here, thanks for trying WSLg! |
Thanks, I was hoping it would be fixed with this correction: |
Since this bug now carries a label "weston-upstream-bug", could someone also add the link to where the bug was reported upstream? I have tried other Linux distributions in virtual machine with Wayland, and this bug does not happen. But I am not sure if all Wayland implementations actually use Weston or not. |
@dpeterc, sorry for late response. This issue is caused by the |
Thank you very much for the reply.
|
@dpeterc, yes, this is an issue in Xwayland window manager implementation within weston project. Since WSLg is based on weston reference compositor, it inherits same issue, thanks! |
@hideyukn88 looking at the list of Wayland compositors on Gentoo web site |
This is now tracked by https://gitlab.freedesktop.org/wayland/weston/-/issues/636 at upstream. |
Thank you very much for posting the weston bug track regarding this problem. |
The fix is submitted at upstream, https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/956. |
Fixed in WSLg 1.0.41 |
Environment
Windows build number: Microsoft Windows [Windows 10.0.21370.1]
Distribution version: OpenSuse 15.1
Distribution version: Ubuntu 20.4
Windows subsystem for Linux Update: 5.10.16
WSLg version: 1.0.17.1
Steps to reproduce
Install any Motif based software in the Linux, for example nedit, ddd, mgdiff, xmgrace, try to select an item from a menu with mouse, for example
File > Open...
Also, in standard Motif behavior, you can use keyboard arrows to select the menu entry, for example arrow down to select the desired entry, and [Enter] to confirm it.
Expected behavior
After selecting the menu item, the respective function should be called.
For example, on File > Open... File selection box should open and allow selecting of the file.
With keyboard navigation with arrows on the menus, you confirm the desired choice by [Enter] and the corresponding function is called.
Actual behavior
Nothing happens, as apparently there is some mouse pointer focus problem, and menu entry isn't called at all.
Menu just closes.
If application supports keyboard shortcuts, the functions are called correctly and they work.
So if you call Ctrl+O, the file selection dialog opens correctly.
The problem happens with all menu entries.
Keyboard navigation on menus only works left and right; you can navigate from the currently open menu to the one on the left or right, but you can not move down or confirm the choice with [Enter]
The text was updated successfully, but these errors were encountered: