-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
Component: UIIssue needs changes to the user interfaceIssue needs changes to the user interfaceEffort: LowIssues require < 1 week of workIssues require < 1 week of workImpact: LowIssue is a papercut or has a good, supported workaroundIssue is a papercut or has a good, supported workaroundUI: Command PaletteIssues with the Command PaletteIssues with the Command Palette
Milestone
Description
Version and Platform (required):
- Binary Ninja Version: 3.2
- OS: macOS x86_64
Bug Description:
UIContext::activeContext() becomes null after hitting command palette shortcut 3 times consecutively. This causes any items depending on it to disappear from the command palette. This can also be replicated by a UI plugin executing the action to open it 3 times.
Without access to the MainWindow
class, the user will have to manually refocus on the application before any UI plugins can access it again.
Steps To Reproduce:
- Open BinaryNinja
- Press ⌘ + P 3 times, note missing items on 3rd time (1st is normal, 2nd time will close the palette)
- Press ⌘ + P a 4th time and note all of the activeContext() dependent items suddenly return
This seems like unintended behavior, and could potentially cause a crash if any code assumes activeContext will not be null
Metadata
Metadata
Assignees
Labels
Component: UIIssue needs changes to the user interfaceIssue needs changes to the user interfaceEffort: LowIssues require < 1 week of workIssues require < 1 week of workImpact: LowIssue is a papercut or has a good, supported workaroundIssue is a papercut or has a good, supported workaroundUI: Command PaletteIssues with the Command PaletteIssues with the Command Palette