[PR #13964] Fix duplication issue for unfocused tabs #29863

Open
opened 2026-01-31 09:37:18 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/13964

State: closed
Merged: Yes


Instead of using the currently focused tab when an unfocused tab is duplicated, the _MakePane(...) function now uses an optional source tab argument that points to the correct tab being duplicated.

Validation Steps Performed

Manually tested on multiple tabs with different profiles. Performed steps:

  • Construct at least two tabs with different profiles.
  • Select Duplicate Tab option from the dropdown menu of the unfocused tab.
  • Verify that the new tab has the same profile as the tab it was duplicated from.

Closes https://github.com/microsoft/terminal/issues/13942

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13964 **State:** closed **Merged:** Yes --- Instead of using the currently focused tab when an unfocused tab is duplicated, the `_MakePane(...)` function now uses an optional source tab argument that points to the correct tab being duplicated. ## Validation Steps Performed Manually tested on multiple tabs with different profiles. Performed steps: * Construct at least two tabs with different profiles. * Select `Duplicate Tab` option from the dropdown menu of the unfocused tab. * Verify that the new tab has the same profile as the tab it was duplicated from. Closes https://github.com/microsoft/terminal/issues/13942
claunia added the pull-request label 2026-01-31 09:37:18 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29863