🔥 [wt +Powerline ] duplicateTab not working #9805

Closed
opened 2026-01-31 02:04:13 +00:00 by claunia · 4 comments
Owner

Originally created by @thisVioletHydra on GitHub (Jul 24, 2020).

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
___________________________________________________
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19041.0 Microsoft Windows NT 10.0.19041.0

Windows Terminal version (if applicable):
___________________________________________________
Windows Terminal
version : 1.0.1811.0

Any other software?
Vscode:
___________________________________________________
Version: 1.47.2 (system setup)
Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf
Date: 2020-07-15T18:22:06.216Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

Steps to reproduce

https://docs.microsoft.com/ru-ru/windows/terminal/tutorials/powerline-setup

Expected behavior

duplicate Tab

Actual behavior

image
image

My settings file

Spoiler warning
{
"$schema": "https://aka.ms/terminal-profiles-schema",

"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialRows": 30,
"initialCols": 120,
"alwaysShowTabs": true,
"showTerminalTitleInTitlebar": true,
"experimental_showTabsInTitlebar": true,
"requestedTheme": "dark",
"copyOnSelect": false,
"copyFormatting": false,

/**
 * @function {function name}
 * @param  {type}  {description}
 * @return {type} {description}
 */
"profiles": {
  "defaults": {
    "tabTitle": "PowerShell",
    "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
    "antialiasingMode": "grayscale",
    "colorScheme": "One Half Dark",
    "startingDirectory": "c:/FRONTEND/www/",
    "foreground": "#CBCCC6",
    "background": "#1F2430",
    "historySize": 10000,
    "snapOnInput": true,
    "cursorShape": "bar",
    "cursorColor": "#FFA759",
    "cursorHeight": 25,
    "fontFace": "Cascadia Code PL",
    "fontSize": 10,
    "acrylicOpacity": 0.75,
    "useAcrylic": true,
    "closeOnExit": "never",
    "padding": "8, 16, 8, 16",
    "icon": "ms-appdata:///roaming/cloud.png"
  },

  "list": [
    {
      "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
      "hidden": false,
      "name": "Ubuntu-20.04",
      "source": "Windows.Terminal.Wsl",
      "closeOnExit": "always"
    },
    {
      // Make changes here to the powershell.exe profile.
      "name": "wt",
      "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
      "tabTitle": "admin",
      "commandline": "cmd.exe /c gsudo pwsh.exe && cls",
      "icon": "ms-appx:///ProfileIcons/{574e775e-4f2a-5b96-ac1e-a2962a402336}.png",
      "hidden": false,
      "closeOnExit": "always"
    },
    {
      // Make changes here to the cmd.exe profile.
      "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
      "name": "Командная строка",
      "commandline": "cmd.exe",
      "hidden": false
    },
    {
      "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
      "hidden": false,
      "name": "Ubuntu",
      "source": "Windows.Terminal.Wsl"
    },
    {
      "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
      "hidden": false,
      "name": "Azure Cloud Shell",
      "source": "Windows.Terminal.Azure"
    },
    {
      "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
      "hidden": false,
      "name": "PowerShell",
      "source": "Windows.Terminal.PowershellCore"
    }
  ]
},

"schemes": [],
/**
 * @function {function name}
 * @param  {type} "keybindings": [ {description}
 * @return {type} {description}
 */
"keybindings": [
  {
    "command": {
      "action": "splitPane",
      "split": "auto",
      "splitMode": "duplicate"
    },
    "keys": "ctrl+p"
  },
  { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" },
  { "command": "paste", "keys": "ctrl+v" },
  { "command": "closeTab", "keys": "ctrl+shift+w" },
  { "command": "closePane", "keys": "ctrl+w" },
  { "command": "newTab", "keys": "ctrl+t" },
  { "command": "find", "keys": "ctrl+f" },
  { "command": "duplicateTab", "keys": "ctrl+shift+d" }
]
}

Originally created by @thisVioletHydra on GitHub (Jul 24, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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] ___________________________________________________ Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0 Windows Terminal version (if applicable): ___________________________________________________ Windows Terminal version : 1.0.1811.0 Any other software? Vscode: ___________________________________________________ Version: 1.47.2 (system setup) Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf Date: 2020-07-15T18:22:06.216Z Electron: 7.3.2 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.19041 ``` # Steps to reproduce https://docs.microsoft.com/ru-ru/windows/terminal/tutorials/powerline-setup <!-- A description of how to trigger this bug. --> # Expected behavior duplicate Tab <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior ![image](https://user-images.githubusercontent.com/11839238/88352598-f9396a00-cd62-11ea-8f7c-a5698b4833fd.png) ![image](https://user-images.githubusercontent.com/11839238/88352610-035b6880-cd63-11ea-9700-0ceafbd0cdce.png) <!-- What's actually happening? --> # My settings file <details> <summary>Spoiler warning</summary> ```json { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "initialRows": 30, "initialCols": 120, "alwaysShowTabs": true, "showTerminalTitleInTitlebar": true, "experimental_showTabsInTitlebar": true, "requestedTheme": "dark", "copyOnSelect": false, "copyFormatting": false, /** * @function {function name} * @param {type} {description} * @return {type} {description} */ "profiles": { "defaults": { "tabTitle": "PowerShell", "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "antialiasingMode": "grayscale", "colorScheme": "One Half Dark", "startingDirectory": "c:/FRONTEND/www/", "foreground": "#CBCCC6", "background": "#1F2430", "historySize": 10000, "snapOnInput": true, "cursorShape": "bar", "cursorColor": "#FFA759", "cursorHeight": 25, "fontFace": "Cascadia Code PL", "fontSize": 10, "acrylicOpacity": 0.75, "useAcrylic": true, "closeOnExit": "never", "padding": "8, 16, 8, 16", "icon": "ms-appdata:///roaming/cloud.png" }, "list": [ { "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", "hidden": false, "name": "Ubuntu-20.04", "source": "Windows.Terminal.Wsl", "closeOnExit": "always" }, { // Make changes here to the powershell.exe profile. "name": "wt", "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "tabTitle": "admin", "commandline": "cmd.exe /c gsudo pwsh.exe && cls", "icon": "ms-appx:///ProfileIcons/{574e775e-4f2a-5b96-ac1e-a2962a402336}.png", "hidden": false, "closeOnExit": "always" }, { // Make changes here to the cmd.exe profile. "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "Командная строка", "commandline": "cmd.exe", "hidden": false }, { "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}", "hidden": false, "name": "Ubuntu", "source": "Windows.Terminal.Wsl" }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" }, { "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "hidden": false, "name": "PowerShell", "source": "Windows.Terminal.PowershellCore" } ] }, "schemes": [], /** * @function {function name} * @param {type} "keybindings": [ {description} * @return {type} {description} */ "keybindings": [ { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "ctrl+p" }, { "command": { "action": "copy", "singleLine": false }, "keys": "ctrl+c" }, { "command": "paste", "keys": "ctrl+v" }, { "command": "closeTab", "keys": "ctrl+shift+w" }, { "command": "closePane", "keys": "ctrl+w" }, { "command": "newTab", "keys": "ctrl+t" }, { "command": "find", "keys": "ctrl+f" }, { "command": "duplicateTab", "keys": "ctrl+shift+d" } ] } ``` </details>
claunia added the Resolution-Duplicate label 2026-01-31 02:04:13 +00:00
Author
Owner

@DHowett commented on GitHub (Jul 24, 2020):

Is this because the new tab is not in the same directory? Or because it is not in the same tab?

@DHowett commented on GitHub (Jul 24, 2020): Is this because the new tab is not in the same directory? Or because it is not in the same tab?
Author
Owner

@thisVioletHydra commented on GitHub (Jul 24, 2020):

Is this because the new tab is not in the same directory? Or because it is not in the same tab?

same directory

@thisVioletHydra commented on GitHub (Jul 24, 2020): > Is this because the new tab is not in the same directory? Or because it is not in the same tab? same directory
Author
Owner

@zadjii-msft commented on GitHub (Jul 24, 2020):

Thanks for following up! This is actually probably #3158 then.

/dup #3158

@zadjii-msft commented on GitHub (Jul 24, 2020): Thanks for following up! This is actually probably #3158 then. /dup #3158
Author
Owner

@ghost commented on GitHub (Jul 24, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jul 24, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9805