Vector35 / Vector35/binaryninja-api

Cursor position resetting when switching between certain views

Open
#5,227 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Low Impact: Medium
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 4.1.5040-dev Personal (8d18fc1e)
  • OS: MacOS (but also tested on Windows)
  • CPU Architecture: M1

Bug Description:
Not totally sure if it's intended or not, but if i switch from Linear view to Triage (or Strings, Types, Memory Map) and then back to Linear, cursor being reseted to beginning of the file, so if i wants go back to Linear saving my cursor position, i should use Escape (or Go back command)

Steps To Reproduce:

  1. Open linear view
  2. Switch to Triage or Types or Memory map or Strings
  3. Switch back to Linear (but not with Go back command)

Expected Behavior:
As it works for Byte Overview, Graph and Hex Editor i think it should keep cursor at the same place when i switching from Linear.

Here is quick demo:
output

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cursor reset when switching between Linear and Triage, Strings, Types, or Memory Map, then compare that behavior with Byte Overview, Graph, and Hex Editor. Done means returning to Linear preserves the previous cursor position without using Escape or Go back.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.