Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
maicol07 opened this issue Apr 8, 2021 · 2 comments
Closed
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Area-ShellExtension For issues related to the explorer right-click context menu Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.

Comments

@maicol07
Copy link

maicol07 commented 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

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 8, 2021
@zadjii-msft
Copy link
Member

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 zadjii-msft added Area-Settings Issues related to settings and customizability, for console or terminal Area-ShellExtension For issues related to the explorer right-click context menu Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. labels Apr 8, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Apr 8, 2021
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Apr 8, 2021
@DHowett
Copy link
Member

DHowett commented 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 DHowett closed this as completed Apr 13, 2021
@DHowett DHowett added Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Area-ShellExtension For issues related to the explorer right-click context menu Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons.
Projects
None yet
Development

No branches or pull requests

3 participants