Vector35 / Vector35/binaryninja-api

New Tab file/project selection can get confused

Open
#7,134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version and Platform (required):

  • Binary Ninja Version: 5.1.7982-dev
  • Edition: Ultimate
  • OS: macOS
  • OS Version: 15
  • CPU Architecture: arm64

Bug Description:
I can make the New Tab file/project picker select both a file and a project at the same time. Then, trying to press enter to open the selection or using the right-click menu can cause the wrong item to be acted upon.

Steps To Reproduce:

  1. Open a new tab
  2. Have stuff in the recent files and recent projects list
  3. Make sure to drag the panes so you can see both at the same time
  4. Right click a file
  5. Right click a project
  6. Keep doing this until suddenly both are selected
  7. Do one of the actions in the right click menu
  8. Observe the action applies to the selected item in the other list

Expected Behavior:
I expected to only be able to select one thing at a time

Screenshots/Video Recording:
https://github.com/user-attachments/assets/897dafc3-6885-4406-8032-94a75c2bf38d

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 issue in the New Tab file/project picker with recent files and projects visible, following the listed right-click steps. The fix is done when selecting or acting on one item cannot leave an item selected in the other list, and Enter or the context menu always targets the visible selection.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.