startupActions not working when launching Terminal from an explorer folder #13364

Closed
opened 2026-01-31 03:40:47 +00:00 by claunia · 2 comments
Owner

Originally created by @maicol07 on GitHub (Apr 8, 2021).

Windows Terminal version (or Windows build number)

1.7.572.0

Other Software

No response

Steps to reproduce

  1. Setup some startupActions in the JSON config
  2. Go to a folder in explorer.
  3. Right Click --> Open Windows Terminal

Expected Behavior

All the startup actions are executed and all the tabs are opened

Actual Behavior

Only the last tab is opened

Originally created by @maicol07 on GitHub (Apr 8, 2021). ### Windows Terminal version (or Windows build number) 1.7.572.0 ### Other Software _No response_ ### Steps to reproduce 1. Setup some startupActions in the JSON config 2. Go to a folder in explorer. 3. Right Click --> Open Windows Terminal ### Expected Behavior All the startup actions are executed and all the tabs are opened ### Actual Behavior Only the last tab is opened
Author
Owner

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

I mean I guess this is "by-design" right now - the context menu entry is only supposed to open up your default profile in the specified directory.

I guess this is a setting that we could use to combine with #6111

@zadjii-msft commented on GitHub (Apr 8, 2021): I mean I guess this is "by-design" right now - the context menu entry is only supposed to open up your default profile in the specified directory. I guess this is a setting that we could use to combine with #6111
Author
Owner

@DHowett commented on GitHub (Apr 13, 2021):

Unfortunately, I'm going to close this one out as "By design". We'll have some more configurability when #6111 lands, but in general we cannot comport "open terminal with a profile here" with "also do these startup actions". I suspect that most users do not want terminal to, say, "new-tab; new-tab; split-pane -p Ubuntu" when they just right-click-open-terminal-here.

That said, some of the experimental stuff we've been discussing around menu item to action binding would make this easier.

@DHowett commented on GitHub (Apr 13, 2021): Unfortunately, I'm going to close this one out as "By design". We'll have some more configurability when #6111 lands, but in general we cannot comport "open terminal with a profile here" with "also do these startup actions". I suspect that most users do _not_ want terminal to, say, "new-tab; new-tab; split-pane -p Ubuntu" when they just right-click-open-terminal-here. That said, some of the experimental stuff we've been discussing around menu item to action binding would make this easier.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13364