You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow a separate launch mode for when Terminal automatically starts on login #13630
Area-SettingsIssues related to settings and customizability, for console or terminalArea-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIn-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.
Have a separate launch mode for when Terminal is started on login by our start on login setting.
Once we have that, add support for launching minimized. This would let people specify that on startup, Terminal should launch minimized... but it should launch normally otherwise.
The app was activated because the app is specified to launch at system startup or user log-in.
And #14425 adds support for activation event args.
I bet we could:
Add some enum values to StartOnUserLogin for disabled, normal, minimized, headless
Around the time of WindowEmperor::HandleCommandlineArgs, we get the Activation args. If it's for a StartupTask, then goody, we can change the logic based on that property:
normal: don't change anything
headless: don't open a window, manually enable compatibility.allowHeadless in the emperor (at least till the next settings reload)
minimized: replace launchMode with minimized for all the windows we're restoring.............
Area-SettingsIssues related to settings and customizability, for console or terminalArea-UserInterfaceIssues pertaining to the user interface of the Console or TerminalIn-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.
Activity
zadjii-msft commentedon Aug 1, 2022
I feel like we've discussed this before on this repo. I bet I linked it to #9992, but I could see this as something separate, tbh.
Fulya2133 commentedon Sep 7, 2022
zadjii-msft commentedon Mar 2, 2023
notes:
ExtendedActivationKind Enum
And #14425 adds support for activation event args.
I bet we could:
StartOnUserLoginfordisabled,normal,minimized,headlessWindowEmperor::HandleCommandlineArgs, we get the Activation args. If it's for a StartupTask, then goody, we can change the logic based on that property:normal: don't change anythingheadless: don't open a window, manually enablecompatibility.allowHeadlessin the emperor (at least till the next settings reload)minimized: replacelaunchModewithminimizedfor all the windows we're restoring.............minimizedis a silly value here.xref
#9996 (comment)
Add support for running the Terminal without _any_ windows (#14944)
zadjii-msft commentedon May 31, 2024
Copying notes from my whiteboard, because I just need to erase them at this point:
Can we tell if we're started for a
startupTaskjust from the AppExecAlias?Admittedly, that was written a solid year ago, so I'm not entirely sure what it means anymore.