-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add searchable menus with recursive filtering #5964
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
base: develop
Are you sure you want to change the base?
Conversation
|
Thanks so much for looking at this cool feature. I don't think it should pop up a whole new menu in a different location, we should be able to do it inline in the main menu as it is drawn already. The main issue with this approach is that the search should cover /all/ menus in a MainMenu not just the one with the search item in it. Rather than filtering a single menu it could show search results that map back to menu items anywhere in the bar. For example https://www.google.com/search?q=macos+menu+search |
|
@andydotxyz one eternity and a lengthy ChatGPT conversation about ObjectiveC/glfw mappings later, I believe I managed to replicate the macOS menu search to some extent. Not sure this is needed in native macOS menus, but it was a good exercise so I included that option in this PR. The main usage example I have is here: |
|
@andydotxyz this now should match your description, can test this by running this example with |


Description:
This addresses #1648, adding the ability to recursively search the menu items
Usage example:
Fixes #1648
Checklist: