Skip to content

fix(inbox): hide automatic WSL mount shortcuts - #3480

Merged
backnotprop merged 5 commits into
backnotprop:mainfrom
qq2514568380:fix/wsl-drive-shortcuts
Nov 21, 2026
Merged

backnotprop merged 5 commits into
backnotprop:mainfrom
qq2514568380:fix/wsl-drive-shortcuts

Conversation

@qq2514568380

Copy link
Copy Markdown
Contributor

Summary

Fixes #3099.

On WSL, New session's Start in menu and the folder browser's Places row include automatic Windows drive roots and WSL system mounts. These shortcuts crowd out the useful work locations.

Mark those mounts with shortcut: false, and omit only their shortcut rows. Keep the complete mount list for registered project paths, disconnected-drive status and network-drive checks. Manual folder browsing remains available. User mounts such as /mnt/data, /mnt/c/backup and /media/me/USB still get shortcuts; Linux outside WSL keeps its current behavior.

The marker comes from the machine that owns the mount list and travels in the existing launch block, so the same filtering applies when choosing a folder on a linked machine. Older launch blocks without the marker retain their existing behavior.

Added regression cases for both WSL environment markers, preservation of mount metadata, non-WSL Linux, and the local/linked-machine folder pickers (including registered projects and typed mounted paths).

Validation: TypeScript syntax parsing of all eight changed files and git diff --check passed. Tests, builds, browser checks and live linked-machine verification were not run; this change has only been statically checked.

e2e:

@backnotprop
backnotprop merged commit 7236401 into backnotprop:main Nov 21, 2026
41 checks passed
@backnotprop

Copy link
Copy Markdown
Owner

Thanks for picking up #3099, and for keeping the full drive list on the server and only dropping shortcut rows, so projects on mounted drives and typed paths keep working, on linked machines too. We kept the drive letters (/mnt/c, /mnt/d…) as shortcuts on purpose, since plenty of WSL users work on their Windows drives, and narrowed the hiding to the WSL system mounts (wsl, wslg, host). Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inbox: reduce automatic WSL mount-root shortcuts in the Start in picker

2 participants