Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unify keyboard and mouse menu navigation #754

Closed
frankmilliron opened this issue Apr 19, 2023 · 2 comments
Closed

Unify keyboard and mouse menu navigation #754

frankmilliron opened this issue Apr 19, 2023 · 2 comments
Assignees
Labels
feature request User-facing feature additions/enhancements MGTK MouseGraphics ToolKit library
Milestone

Comments

@frankmilliron
Copy link
Contributor

If "File" menu is actively being displayed, the keystroke for "Quit" is not launched when hitting OA-Q. Only clicking on the menu entry will launch the item, once the window is open. Would be nice if you could launch the item using keystrokes.

@frankmilliron frankmilliron added DeskTop DeskTop bugs or feature requests feature request User-facing feature additions/enhancements labels Apr 19, 2023
@inexorabletash inexorabletash added MGTK MouseGraphics ToolKit library and removed DeskTop DeskTop bugs or feature requests labels Apr 20, 2023
@frankmilliron
Copy link
Contributor Author

"ESC" should also close the menu if the menu entry was clicked to open. Arrow keys should traverse the menus. They do not currently. Only another mouse click will launch or close the menu.

@inexorabletash inexorabletash changed the title When menu is active, let OA-keystroke combination launch item. Unify keyboard and mouse menu navigation Apr 21, 2023
@inexorabletash
Copy link
Collaborator

After some initial exploration, it seems like it'll be necessary to do an overhaul of the keyboard menu system to integrate it better into the mouse menu system, to remove special cases and provide all of the above.

There's also a bug where certain presses get interpreted as mouse coords while the menu is showing.

inexorabletash added a commit that referenced this issue Apr 21, 2023
Discovered while investigating #754 - key event data can be
misinterpreted as mouse event coords, leading to strange behavior.
@inexorabletash inexorabletash self-assigned this Apr 22, 2023
@inexorabletash inexorabletash added this to the 1.3 milestone Apr 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request User-facing feature additions/enhancements MGTK MouseGraphics ToolKit library
Projects
None yet
Development

No branches or pull requests

2 participants