Skip to content

Comment on graph view function header does not make function comment #8459

Description

@ElykDeer

Version and Platform:

  • Binary Ninja Version: 6.0.10526-dev
  • Edition: Ultimate
  • OS: OSX
  • OS Version: 26.5.2
  • CPU Architecture: M3

Bug Description:
In Graph view, pressing ; on a function header only creates a function comment when the cursor is on the function name token, not when you're just selecting the line itself.

Steps To Reproduce:

  1. Open any binary in Graph view
  2. Select the line the function name is on, but not on the function name itself
  3. Press ; and enter a comment
  4. See the comment attached to the first instruction instead of the function header

Expected Behavior:
I expect entering a comment anywhere on the function header to create or edit the function comment, consistent with Linear view.

Screenshots/Video Recording:

Screen.Recording.2026-08-24.at.5.10.09.PM.mov

Metadata

Metadata

Assignees

Labels

Component: UIIssue needs changes to the user interfaceEffort: TrivialIssues require < 1 day of workImpact: LowIssue is a papercut or has a good, supported workaroundUI: GraphIssues with the FlowGraph class or Graph view

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions