microsoft / microsoft/terminal

Terminal Crashes when Reopening closed settings window

Open
#18,509 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Quality Help Wanted Issue-Bug Needs-Attention Product-Terminal Severity-Crash
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.21.10351.0

Windows build number

10.0.26100 Build 26100

Other Software

No response

Steps to reproduce

Open the settings pane and then close it, reopen it using the "Restore the last closed pane or tab" shortcut, then close it again and reopen it. Upon trying to reopen the tab the second time, the terminal crashes

https://github.com/user-attachments/assets/dfdd595f-2318-4ac3-a89e-c48db6a3d7c6

Expected Behavior

The settings pane should open again instead of crashing

Actual Behavior

Windows Terminal Crashes on reopening the closed settings pane the second time

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in Windows Terminal 1.21.10351.0 on Windows 10.0.26100 using the reported settings-pane and “Restore the last closed pane or tab” sequence. No source file or test is named; done means the settings pane reopens on the second attempt without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.