START /MIN WT? #12429

Closed
opened 2026-01-31 03:15:23 +00:00 by claunia · 5 comments
Owner

Originally created by @vefatica on GitHub (Feb 5, 2021).

Environment

Microsoft Windows 10 Pro for Workstations
10.0.19042.746 (2009, 20H2)
WindowsTerminalPreview_1.6.10272.0_x64

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

In CMD.EXE, issue START /MIN WT

Expected behavior

WT starts minimized and can be restored.

Actual behavior

WT starts minimized and can't be restored. The taskbar icon is rather lame.

I couldn't get good pics of the taskbar icon's popup thumbnails because they close when I activate the screen clipper.

Originally created by @vefatica on GitHub (Feb 5, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment Microsoft Windows 10 Pro for Workstations 10.0.19042.746 (2009, 20H2) WindowsTerminalPreview_1.6.10272.0_x64 ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Any other software? ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> In CMD.EXE, issue `START /MIN WT` # Expected behavior WT starts minimized and can be restored. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior WT starts minimized and can't be restored. The taskbar icon is rather lame. <!-- What's actually happening? --> I couldn't get good pics of the taskbar icon's popup thumbnails because they close when I activate the screen clipper.
Author
Owner

@KalleOlaviNiemitalo commented on GitHub (Feb 5, 2021):

Related issues, although not duplicates:

@KalleOlaviNiemitalo commented on GitHub (Feb 5, 2021): Related issues, although not duplicates: * <https://github.com/microsoft/terminal/issues/7374> a request for a `wt` command-line option that could be used instead of START /MIN. * <https://github.com/microsoft/terminal/issues/7396> crash after START /MIN. As far as I know, it does not crash nowadays. This issue also mentions strange UI behaviour.
Author
Owner

@zadjii-msft commented on GitHub (Feb 8, 2021):

Yea, this is definitely unique compared to the other two. Repros easy enough. Real weird. I wonder if the OS is unhappy about us trying to set a window position when starting minimized is requested. Hard to know for sure, user32 is a mystery ¯\_(ツ)_/¯

@zadjii-msft commented on GitHub (Feb 8, 2021): Yea, this is definitely unique compared to the other two. Repros easy enough. Real weird. I wonder if the OS is unhappy about us trying to set a window position when starting minimized is requested. Hard to know for sure, user32 is a mystery ¯\\\_(ツ)_/¯
Author
Owner

@just1a-person commented on GitHub (Feb 10, 2021):

Screenshots from Alt-Tab:

WT weirdness

@just1a-person commented on GitHub (Feb 10, 2021): Screenshots from Alt-Tab: ![WT weirdness](https://user-images.githubusercontent.com/75578443/107468138-7ad0d800-6b8d-11eb-810e-d197721ea1f6.png)
Author
Owner

@zadjii-msft commented on GitHub (Apr 27, 2022):

We accidentally found the fix for this in 75d30651a, in #12979

@zadjii-msft commented on GitHub (Apr 27, 2022): We accidentally found the fix for this in 75d30651a, in #12979
Author
Owner

@zadjii-msft commented on GitHub (Jul 15, 2022):

Whoops, we reverted this but never reopened it.

@zadjii-msft commented on GitHub (Jul 15, 2022): Whoops, we reverted this but never reopened it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12429