Starting 3 panes from the commanline fails to load all profiles #12931

Closed
opened 2026-01-31 03:29:15 +00:00 by claunia · 2 comments
Owner

Originally created by @mellester on GitHub (Mar 9, 2021).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?

Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0
Version: 1.6.10571.0

Steps to reproduce

      [
            {
                // Make changes here to the powershell.exe profile.
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                // Make changes here to the cmd.exe profile.
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "Command Prompt",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{3e959db1-c358-41b0-b01f-00a4087dd160}",
                "name": "Display",
                "hidden": false,
                "backgroundImage": "C:\\Users\\Melle\\Pictures\\texture1.jpg",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "name" : "Ubuntu",
                "hidden": false,
                "source" : "Windows.Terminal.Wsl",
                "colorScheme" : "Raspberry",
                "cursorColor" : "#FFFFFF",
                "startingDirectory": "\\\\wsl$\\Ubuntu\\home\\melle",
                "backgroundImage": "C:\\Users\\Melle\\Pictures\\pexels-arthouse-studio-4534200.jpg",
                "fontFace" : "Cascadia Code",
                "padding" : "5, 5, 5, 5",
                "tabTitle": "Ubuntu"
            },
            {
                "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
                "hidden": false,
                "name": "Ubuntu-1",
                "fontFace" : "Cascadia Code",
                "colorScheme" : "Raspberry",
                "backgroundImage": "C:\\Users\\Melle\\Pictures\\texture2.jpg",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },`

cmd-->
C:\Users\Melle\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt.exe -M; split-pane -H -p "Display" -s 0.6 ; split-pane --profile "Ubuntu-1"

Expected behavior

I am trying to get 3 wls panes each with a different background.

Actual behavior

2 of the panes are default profiles instead. of what I expected

Originally created by @mellester on GitHub (Mar 9, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Any other software? ``` Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0 Version: 1.6.10571.0 # Steps to reproduce ``` [ { // Make changes here to the powershell.exe profile. "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "Windows PowerShell", "commandline": "powershell.exe", "hidden": false }, { // Make changes here to the cmd.exe profile. "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "Command Prompt", "commandline": "cmd.exe", "hidden": false }, { "guid": "{3e959db1-c358-41b0-b01f-00a4087dd160}", "name": "Display", "hidden": false, "backgroundImage": "C:\\Users\\Melle\\Pictures\\texture1.jpg", "source": "Windows.Terminal.Wsl" }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "name" : "Ubuntu", "hidden": false, "source" : "Windows.Terminal.Wsl", "colorScheme" : "Raspberry", "cursorColor" : "#FFFFFF", "startingDirectory": "\\\\wsl$\\Ubuntu\\home\\melle", "backgroundImage": "C:\\Users\\Melle\\Pictures\\pexels-arthouse-studio-4534200.jpg", "fontFace" : "Cascadia Code", "padding" : "5, 5, 5, 5", "tabTitle": "Ubuntu" }, { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu-1", "fontFace" : "Cascadia Code", "colorScheme" : "Raspberry", "backgroundImage": "C:\\Users\\Melle\\Pictures\\texture2.jpg", "source": "Windows.Terminal.Wsl" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" } ] },` ``` <!-- A description of how to trigger this bug. --> cmd--> C:\Users\Melle\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt.exe -M; split-pane -H -p "Display" -s 0.6 ; split-pane --profile "Ubuntu-1" # Expected behavior I am trying to get 3 wls panes each with a different background. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior 2 of the panes are default profiles instead. of what I expected <!-- What's actually happening? -->
Author
Owner

@zadjii-msft commented on GitHub (Mar 9, 2021):

"source" should only be used for the auto-generated WSL profile. It doesn't do anything otherwise.

If you want to add your own WSL profiles, then get rid of the source property and make sure to set the commandline to wsl -d Ubuntu (or whatever your distro is)

@zadjii-msft commented on GitHub (Mar 9, 2021): `"source"` should only be used for the auto-generated WSL profile. It doesn't do anything otherwise. If you want to add your own WSL profiles, then get rid of the `source` property and make sure to set the commandline to `wsl -d Ubuntu` (or whatever your distro is)
Author
Owner

@mellester commented on GitHub (Mar 9, 2021):

@zadjii-msft thx for the quik reply. that works

@mellester commented on GitHub (Mar 9, 2021): @zadjii-msft thx for the quik reply. that works
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12931