Show correct context menu when using Menu key#3550
Merged
notxvilka merged 2 commits intorizinorg:devfrom Feb 6, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Detailed description
Opening context menu using the "Menu" key from the keyboard opens a generic context menu as if the user clicked outside of any instructions, both in disassembly and graph widgets. This PR fixes that specific case
Test plan (required)
Since not a lot of systems come with the "Menu" key, one can remap a key to behave as "Menu" key to test this PR
Wasn't able to find a working solution to get the "Menu/Application" key working on macOS both with and without remapping
See context-menu-right-click-keyboard-shortcut-in-mac-os-x
Steps:
Note that context menu opened through keyboard appears in the middle of the widget that currently has focus, (that's handled by Qt)
Closing issues
closes #2107