Ubuntu not considered as WSL for drag and drop #17691
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
Windows Terminal version
1.20.11781.0
Windows build number
10.0.22631.0
Other Software
Ubuntu 22.04.3 LTS (standard WSL build; installed via
wsl --install Ubuntu
)Steps to reproduce
Drag a file from explorer to the terminal.
Expected Behavior
I get the path in Linux form.
Actual Behavior
I get an untranslated Windows path.
I think this is because the profile that WSL set-up for me uses
ubuntu.exe
rather than WSL.Relevant snippet of my settings.json is like this:
https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalControl/ControlInteractivity.cpp#L737 matches on source being
Windows.Terminal.Wsl
but that has been hidden, as far as I'm aware the only config I've changed is via the UI to change the colour scheme and scrollbar settings. Clearly now I've worked this out I can fix the config, but it isn't obvious the Ubuntu app isn't considered WSL...The text was updated successfully, but these errors were encountered: