hotspot icon indicating copy to clipboard operation
hotspot copied to clipboard

FR: add navigation history "back" / "forward" + navigation "up" (similar to kcachegrind)

Open GitMensch opened this issue 2 years ago • 1 comments
trafficstars

Is your feature request related to a problem? Please describe. After a lot of working with callgrind reports (because of missing perf counters) in kcachegrind I came back to Hotspot. The thing I miss most (maybe it is already available?) is its navigation options (this issue may be split to move "up" away).

Describe the solution you'd like Similar navigation options to kcachegrind, ideally using the same UI where possible: Menu item "&Go" with sub-menus "&Up [ALT+up]"+"&Forward [ALT+right]"+"&Backward [ALT+left]", ideally with sub-items as data is available.

Describe alternatives you've considered For the history: Try to remember the last N places I've looked at, then click around to reach that. This is what I do, but I recognize that I both "click wrong", "remember wrong" and am just slower with the mouse than using the keyboard. For "up": go to caller/callee view, look out for the symbol interested in, then double-click on the caller with the highest cost.

GitMensch avatar Jan 26 '23 09:01 GitMensch

Note: The part where doing the navigation as described above takes most time is "partially covered": The Disassembly view provides left/right = back/forward navigation via arrow buttons in the upper right corner:

disassembly navigation; "missing" there is:

  • keyboard shortcuts for both
  • potentially a visible history with "direct" access, this could be solved by an additional drop-down (enabling to go to the 4th entry without 4 clicks which itself lead to 4 times loading the code, disassembly, costs and do the syntax highlighting.

Thanks for providing the feature there already, and for consideration to improve that, possibly make that usable also in other views.

GitMensch avatar Jan 26 '23 11:01 GitMensch