microsoft / microsoft/terminal

Open windows from a previous session should ignore Quake window when its the last window open

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

Nobody has claimed this yet.

Area-Windowing Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.22.3232.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce
  • Have few tabs open in Terminal
  • Open a Quake window using Win+`
  • Hide the Quake window using Win+`
  • Close the terminal from step 1
  • Re-open terminal
Expected Behavior
  • Now the expectation is that after re-opening the terminal in last step it should restore the tabs we had open.
Actual Behavior
  • But since Quake window was still open in background, the tabs does not get restored and instead terminal launches with default profile tab

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 session-restore flow with a normal Terminal window and a hidden Quake window, using the listed Windows Terminal and Windows build versions. Read the code that decides whether previous windows or tabs are restored when Terminal reopens. Done means the previous tabs restore even when the Quake window is the last window left open.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.