profiler
profiler copied to clipboard
Inconsistencies with keyboard shortcuts when call node context menu is open
When the call node context menu is open on various tabs, keyboard shortcuts such as arrow keys can control components other than the menu itself:
- Call Tree: Arrow keys are controlling the call tree instead of the context menu.
- Flame Graph: Arrow keys are controlling both the canvas and context menu.
- Stack Chart: Arrow keys are only controlling the context menu (probably coincidence, since stack chart doesn't do anything with arrow keys)
I think the expected behavior should be that shortcuts that aren't in the context menu or relating to the focused node shouldn't do anything. So up/down arrow keys should only control the context menu, and left/down should do nothing. Similarly, it also makes sense for all the shortcuts listed in the context menu to dismiss the context menu open being used, similar to how they would be if you clicked on them.
┆Issue is synchronized with this Jira Task