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

Fixing Open in Terminal shortcut #14804

Closed
snoopiedoom opened this issue Feb 7, 2023 · 2 comments
Closed

Fixing Open in Terminal shortcut #14804

snoopiedoom opened this issue Feb 7, 2023 · 2 comments
Labels
Issue-Question For questions or discussion 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 Resolution-Answered Related to questions that have been answered

Comments

@snoopiedoom
Copy link

Description of the new feature/enhancement

Currently, using the Windows right-click context menu option Open in Terminal is slow and painful, due to it executing in a new Window, for which I have to face an elevatation prompt. It is simply faster and more practical to copy paste the path from explorer w/ keyboard shortcuts than using the context menu option.
To get most things done on Windows, you need to run applications as elevated processes, which results in a prompt I have to face every time I use the Open in Terminal shortcut. And if it isn't bad enough, idk why, but the Windows work machine I'm using always loses focus off of elevated prompts, so I have to use the mouse to confirm.
I also believe that with the introducion of tabs, there is a bit of purpose in increasing the number of tabs, not windows.

Proposed technical implementation details (optional)

Haven't gotten around to looking at the code yet.

Using the Open in Terminal option in Windows Explorer right-click context menu would open and focus on the tab. Option would be set in Windows Terminal settings.

@snoopiedoom snoopiedoom added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Feb 7, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot 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 Feb 7, 2023
@lhecker
Copy link
Member

lhecker commented Feb 7, 2023

You can have it attach to an existing window:
image

I'm not sure if it's possible to skip the second elevation prompt. I'm not an expert in that area, but I don't think so, since a unelevated process like explorer wouldn't be able to send a message to elevated Windows Terminal process in the first place, as unelevated processes can't mess with elevated ones in general.

@carlos-zamora carlos-zamora added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 8, 2023
@snoopiedoom
Copy link
Author

Damn, I can't believe I missed that, my apologies for the late reply, but I didn't want to respond without testing. The option works well, and the elevated prompt makes sense and luckily it doesn't lose focus so my hands can stay on the keyboard, yay 😄
Thanks for the quick work!

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Feb 14, 2023
@zadjii-msft zadjii-msft added Issue-Question For questions or discussion Resolution-Answered Related to questions that have been answered and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Needs-Attention The core contributors need to come back around and look at this ASAP. labels Feb 14, 2023
@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question For questions or discussion 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 Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

4 participants