Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
922 stars 209 forks source link

Sidebar opens and closes when you switch between split views #2935

Open CouleeApps opened 2 years ago

CouleeApps commented 2 years ago

Version and Platform (required):

Bug Description: When you split the view, and change one side to the Raw view, it will remember the sidebar state separately from the analyzed view, and switch it on/off when you change focus panes. This might be a neat desired feature, but the current behavior seems buggy.

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

  1. Open any executable
  2. Split panes
  3. In the second pane, switch the view to Raw
  4. Close the sidebar in the second pane
  5. Click back to the first pane
  6. Observe sidebar reappears
  7. Click back to second pane
  8. Observe sidebar disappears

Expected Behavior: I expected the sidebar to not move when switching panes.

Additional Information: As a side fun trick, you can set the sidebar to Symbols in the analyzed view, and something else in the raw view, and it will switch back and forth between them. Also, if you have a raw view selected and switch sidebars a lot, sometimes it will refocus the analyzed view.

plafosse commented 7 months ago

Still repros in 4.0