Vector35 / Vector35/binaryninja-api

Duplicate icon in dock while pinning the icon

Open
#6,893 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version and Platform (required):

  • Binary Ninja Version: [e.g. 5.1.7512-test] (if version is stable, please also test the latest development build via the "Update Channel" option)
  • Edition: Ultimate
  • OS: MacOS
  • OS Version: 15.4.1
  • CPU Architecture: M4

Bug Description:
When restarting Binary Ninja using the "Restart Binary Ninja and Reopen Files" command, a duplicate dock icon appears.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Pin the Binary Ninja icon to the dock
  2. Use the command palette to select "Restart Binary Ninja and Reopen Files"
  3. A duplicate Binary Ninja icon appears in the dock

Expected Behavior:
When using the "Restart Binary Ninja and Reopen Files" command, Binary Ninja should reopen without creating a duplicate dock icon like the "Restart Binary Ninja" command.

Screenshots/Video Recording:
https://github.com/user-attachments/assets/5ab67aad-a5e3-4a25-affb-3d2399f0f877

  1. Without pinning, there are no issue.
  2. With pinning, a duplicate icon appears in the dock.

Additional Information:
This issue was discovered during training session with Kyle.

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 on macOS 15.4.1 with Binary Ninja pinned to the dock, then compare “Restart Binary Ninja and Reopen Files” with “Restart Binary Ninja.” Trace the restart command's application relaunch behavior and verify that reopening files leaves only the pinned dock icon.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.