You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
desktop: "Open in <Editor>" menu in Review Pane opens workspace root directory instead of active file tab #62040
In the OpenCode Desktop Review / Workspace pane header, selecting an external editor (e.g., Sublime Text, Antigravity, Finder) from the top-right "Open in..." dropdown opens the workspace root directory instead of the currently active file tab displayed in the pane.
Environment
opencode version: 2.2.5
OS: Darwin 27.0.0 (macOS / darwin arm64)
Terminal: Desktop App (Review Pane)
Shell: /bin/zsh
Install/channel: Desktop 2.2.5
Active plugins: None
Reproduction
Open a workspace in OpenCode Desktop.
Open a specific file tab in the Review pane (e.g., queries/check_all_reg_properties.sql).
Click the top-right "Open in..." dropdown menu located beside the active tab bar.
Select an external editor (e.g., "Sublime Text").
Expected Behavior
The selected editor opens the active file tab (/path/to/workspace/queries/check_all_reg_properties.sql).
Actual Behavior
The editor opens the entire workspace root folder (/path/to/workspace/) instead of the specific file tab being viewed.
Suggested Fix
Update the action handler in the Review Pane header component to prioritize the active tab file path:
Thanks for the clear report! I think this is a duplicate of #55858, which describes the same problem: the Open in button in the side/review panel header opens the workspace root instead of the active file tab.
Possible duplicates and related issues, most likely first:
A fix for #55858 was proposed in #59903, but that PR was closed without being merged, so 2.2.5 still behaves this way. Please follow #55858 for updates.
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
Closing this as a duplicate of #55858, since there was no reply about how this problem differs. That issue covers the same bug: the side/review panel header Open in button opens the workspace root instead of the active file tab. Please follow #55858 for updates, and #61678 if you also see the related Windows issue with Sublime Text.
If your problem turns out to be different, reply here with the details and we can reopen it. Thanks again for the clear report!
Activity
opencodejr commentedon Nov 5, 2026
Thanks for the clear report! I think this is a duplicate of #55858, which describes the same problem: the Open in button in the side/review panel header opens the workspace root instead of the active file tab.
Possible duplicates and related issues, most likely first:
OpenInAppButtonalways passes the workspace root (screen.file.root) to the launcher and to Copy path, and ignores the active tab.A fix for #55858 was proposed in #59903, but that PR was closed without being merged, so 2.2.5 still behaves this way. Please follow #55858 for updates.
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
opencodejr commentedon Nov 6, 2026
Closing this as a duplicate of #55858, since there was no reply about how this problem differs. That issue covers the same bug: the side/review panel header Open in button opens the workspace root instead of the active file tab. Please follow #55858 for updates, and #61678 if you also see the related Windows issue with Sublime Text.
If your problem turns out to be different, reply here with the details and we can reopen it. Thanks again for the clear report!