"persistedWindowLayout" bug when starting with arguments #20972

Open
opened 2026-01-31 07:29:19 +00:00 by claunia · 0 comments
Owner

Originally created by @alex-jitbit on GitHub (Dec 10, 2023).

Windows Terminal version

1.18.3181.0

Windows build number

10.0.22631.2715

Other Software

No response

Steps to reproduce

I have "firstWindowPreference": "persistedWindowLayout"

Also "new instance behavior" is set to "Attach to most recently used"

  • When starting Windows Terminal from command prompt via wt - all godd
  • When starting by clicking a pinned taskbar icon - all good.
  • When starting via wt -d . to start in current directory and the terminal is already running - all good.
  • When starting via wt -d . when no termonal instance is running yet - it opens in a weird random location.

Expected Behavior

No response

Actual Behavior

  • When starting via wt -d . when no termonal instance is running yet - it opens in a weird random location.
Originally created by @alex-jitbit on GitHub (Dec 10, 2023). ### Windows Terminal version 1.18.3181.0 ### Windows build number 10.0.22631.2715 ### Other Software _No response_ ### Steps to reproduce I have `"firstWindowPreference": "persistedWindowLayout"` Also "new instance behavior" is set to "Attach to most recently used" * When starting Windows Terminal from command prompt via `wt` - all godd * When starting by clicking a pinned taskbar icon - all good. * When starting via `wt -d .` to start in current directory and the terminal is already running - all good. * ***When starting via `wt -d .` when no termonal instance is running yet - it opens in a weird random location.*** ### Expected Behavior _No response_ ### Actual Behavior * ***When starting via `wt -d .` when no termonal instance is running yet - it opens in a weird random location.***
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:29:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20972