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

Open terminal on the active screen from windows explorer #13307

Open
eMaurits opened this issue Jun 15, 2022 · 2 comments
Open

Open terminal on the active screen from windows explorer #13307

eMaurits opened this issue Jun 15, 2022 · 2 comments
Labels
Area-Commandline wt.exe's commandline arguments Area-ShellExtension For issues related to the explorer right-click context menu Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@eMaurits
Copy link

Description of the new feature/enhancement

When I right click in a folder and click 'Open in Terminal' it always opens on the main screen while I have the explorer opened on the second or third screen.
Please open the terminal or on the latest screen it was open, or on the screen from where I open the terminal.

Proposed technical implementation details (optional)

@eMaurits eMaurits added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jun 15, 2022
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jun 15, 2022
@zadjii-msft
Copy link
Member

Huh. That's not a bad idea. How we communicate where the parent window is might be tricky. I don't know if we can pass in a parent window to ShellExecute, I'd imagine we can. Presumably then CW_USEDEFAULT would respect that. Then, we'd just need a way for --initialPostion (or whatever, #4620) to specify "don't use initialPostion, use CW_USEDEFAULT"

@zadjii-msft zadjii-msft added Help Wanted We encourage anyone to jump in on these. Product-Terminal The new Windows Terminal. Issue-Task It's a feature request, but it doesn't really need a major design. Area-Commandline wt.exe's commandline arguments Area-ShellExtension For issues related to the explorer right-click context menu and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Jun 15, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jun 15, 2022
@zadjii-msft zadjii-msft added this to the Backlog milestone Jun 15, 2022
@zadjii-msft zadjii-msft removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Jul 8, 2022
@smallscript
Copy link

First, I applaud and support this idea.

Having multiple monitors makes this annoying to not have it.

I frequently use keystrokes to open a terminal from some app (like VsCode) whose window is the keyboard input focus.

The behavior I desire/expect is that the terminal will open up on the same monitor and position itself reasonably in relation to the focused window application from which the launch request was triggered.

As it is now, I can only solve this by moving around the windows setting of my main monitor, or define an AUTO-HOT-KEYS trick to reposition the terminal after it is located ⟨once it is in the foreground⟩.

💯 🤔 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Commandline wt.exe's commandline arguments Area-ShellExtension For issues related to the explorer right-click context menu Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants