persistedWindowLayout does not preserve tab titles #19874

Open
opened 2026-01-31 06:56:03 +00:00 by claunia · 0 comments
Owner

Originally created by @Vampire on GitHub (May 15, 2023).

Windows Terminal version

1.16.10261.0

Windows build number

10.0.19045 Build 19045

Other Software

No response

Steps to reproduce

  • have firstWindowPreference set to persistedWindowLayout
  • have a state.json with some tabs defined that have custom manually set tab titles
  • start terminal, the tabs get properly restored
  • use the terminal for some time
  • have a look at state.json

Things that might maybe be relevant additionally:

  • the restored window is in quake-mode and after terminal restart I once disable focus mode manually
  • the profile I use for all those tabs is "Git Bash", but with tabTitle set to bash

Expected Behavior

The custom tab titles are preserved

Actual Behavior

All tab titles are reset to bash.

Originally created by @Vampire on GitHub (May 15, 2023). ### Windows Terminal version 1.16.10261.0 ### Windows build number 10.0.19045 Build 19045 ### Other Software _No response_ ### Steps to reproduce - have `firstWindowPreference` set to `persistedWindowLayout` - have a `state.json` with some tabs defined that have custom manually set tab titles - start terminal, the tabs get properly restored - use the terminal for some time - have a look at `state.json` Things that might maybe be relevant additionally: - the restored window is in quake-mode and after terminal restart I once disable focus mode manually - the profile I use for all those tabs is "Git Bash", but with `tabTitle` set to `bash` ### Expected Behavior The custom tab titles are preserved ### Actual Behavior All tab titles are reset to `bash`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19874