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

add shortcut to execute the focus terminal operation when minimizeToNotificationArea #18379

Closed
bushnerd opened this issue Dec 30, 2024 · 2 comments
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. 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

Comments

@bushnerd
Copy link

Description of the new feature

Windows Terminal version
1.17.11461.0

Windows build number
NA

Other Software
No response

Steps to reproduce
Enable "minimizeToNotificationArea": true
Open terminal
Minimize terminal
Set the global shortcut key as specified, such as ctrl+`, to execute the focus terminal operation.

Expected Behavior
Restore terminal window

Actual Behavior
Currently, this feature is not available

I have implemented a shortcut to minimizeToNotificationArea with autohotkey, code as follows:

^`::
if WinActive("ahk_exe WindowsTerminal.exe") {
	WinMinimize, ahk_exe WindowsTerminal.exe 
} else {
}
return

Proposed technical implementation details

No response

@bushnerd bushnerd added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Dec 30, 2024
@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 Dec 30, 2024
@zadjii-msft
Copy link
Member

The globalSummon action should work even when minimized to the notification area.

Is it possible that some other program has already bound that hotkey? Can you try binding a different keybinding in the settings, just to see what happens?

Also, can you try a build of the Terminal from this year/? 1.17 is literally 18 months old 😄

@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Dec 30, 2024
@bushnerd
Copy link
Author

bushnerd commented Dec 31, 2024

Thank you very much for your quick response. It's my fault; I've been looking for such an operation, and I didn't expect it to have been implemented.
I have already achieved my idea by following the operations as follows.

        {
            "command": {
                "action": "globalSummon",
                "toggleVisibility": true
            },
            "keys": "ctrl+`"

@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 Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP. 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
Projects
None yet
Development

No branches or pull requests

2 participants