Project
cortex-ide
Description
The primary title-bar dropdown defaults to label 'Open File', but its click handler dispatches folder:open, which opens project/folder selection rather than file-open flow.
Evidence:
- cortex-ide/src/components/cortex/primitives/CortexOpenProjectDropdown.tsx:30 -> const displayLabel = () => local.label ?? "Open File";
- cortex-ide/src/components/cortex/CortexDesktopLayout.tsx:310 -> onProjectDropdownClick={() => window.dispatchEvent(new CustomEvent("folder:open"))}
Error Message
No explicit error; behavior mismatch occurs silently.
Debug Logs
No logs required; mismatch is deterministic from label/action wiring.
System Information
Native GUI: Cortex IDE
Screenshots
Native GUI: Cortex IDE
Artifact is captured from the Cortex GUI; focus screenshots may include a simple issue marker ring.

Steps to Reproduce
- Launch Cortex IDE and inspect the top-left action button label.
- Click 'Open File' in the title bar.
- Observe it opens folder/project selection flow instead of a file picker.
Expected Behavior
Label and action should match (either 'Open Project' or true file-open behavior).
Actual Behavior
Label says 'Open File' while action routes to folder/project open event.
Additional Context
Mismatch is visible in title bar and reproducible from first click.
Project
cortex-ide
Description
The primary title-bar dropdown defaults to label 'Open File', but its click handler dispatches
folder:open, which opens project/folder selection rather than file-open flow.Evidence:
Error Message
No explicit error; behavior mismatch occurs silently.
Debug Logs
No logs required; mismatch is deterministic from label/action wiring.
System Information
Native GUI: Cortex IDE
Screenshots
Native GUI: Cortex IDE
Artifact is captured from the Cortex GUI; focus screenshots may include a simple issue marker ring.
Steps to Reproduce
Expected Behavior
Label and action should match (either 'Open Project' or true file-open behavior).
Actual Behavior
Label says 'Open File' while action routes to folder/project open event.
Additional Context
Mismatch is visible in title bar and reproducible from first click.