Skip to content

fix: preserve Windows Explorer new tab directory#10464

Draft
lllakshit wants to merge 1 commit intowarpdotdev:masterfrom
lllakshit:lllakshit/fix-windows-explorer-new-tab-path
Draft

fix: preserve Windows Explorer new tab directory#10464
lllakshit wants to merge 1 commit intowarpdotdev:masterfrom
lllakshit:lllakshit/fix-windows-explorer-new-tab-path

Conversation

@lllakshit
Copy link
Copy Markdown

Description

Fixes #9844.

Windows Explorer's Open Warp in new tab registry entries now pass the selected folder/background folder as a file:///... URI, which routes through Warp's existing file URI handling and preserves the target directory when creating the session.

This also hardens the custom action/new_tab?path=... parser so it can handle shell-quoted paths and file:// path values, and updates Windows single-instance forwarding to append the current directory through Url::query_pairs_mut() instead of concatenating an unescaped query string.

Linked Issue

Testing

  • git diff --check
  • Added unit coverage for quoted tab paths and file:// tab path values.

Not run locally because this Windows machine does not currently have the required developer tools available on PATH:

  • cargo
  • rustfmt
  • Inno Setup iscc

Agent Mode

  • Warp Agent Mode - This PR was created via Codex CLI.

CHANGELOG-BUG-FIX: Fixed Windows Explorer's Open Warp in new tab context menu action losing the selected folder and opening at the home directory.

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 8, 2026

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @lllakshit on file. In order for us to review and merge your code, each contributor must visit https://cla.warp.dev to read and agree to our CLA. Once you have done so, please comment @cla-bot check to trigger another check.

@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: 'Open Warp in New Tab' from Explorer context menu doesn't navigate to current directory on Windows

1 participant