Terminal interferes with global hotkeys assigned to another app #6497

Closed
opened 2026-01-31 00:40:21 +00:00 by claunia · 8 comments
Owner

Originally created by @davidjade on GitHub (Feb 17, 2020).

I have an Win32 tray app installed (3RVX) that allows me to configure the Windows Key + Scroll Wheel (middle mouse button) to alter the system volume. This is a global hotkey combination. When I open a Windows Terminal and it has the focus, this global hotkey no longer works. When I switch to any other app, then it works again.

Environment

Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Terminal Version: 0.9.433.0

Any other software?
https://www.3rvx.com/

Steps to reproduce

  1. Install 3RVX and config to use Windows + Scroll Wheel to change the system volume.
  2. Install Windows Terminal preview from Store
  3. Open Terminal and keep focused, then try Windows + Scroll Wheel hotkey to change system volume - this does not work. If you switch to any other app then the hotkey combination works.

Expected behavior

Should not interfere with another app's global hotkey configuration that uses the Windows+Scroll wheel.

Actual behavior

Prevents another app's Windows+Scroll hotkey from working

Originally created by @davidjade on GitHub (Feb 17, 2020). I have an Win32 tray app installed (3RVX) that allows me to configure the Windows Key + Scroll Wheel (middle mouse button) to alter the system volume. This is a global hotkey combination. When I open a Windows Terminal and it has the focus, this global hotkey no longer works. When I switch to any other app, then it works again. # Environment Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Terminal Version: 0.9.433.0 Any other software? https://www.3rvx.com/ # Steps to reproduce 1. Install 3RVX and config to use Windows + Scroll Wheel to change the system volume. 2. Install Windows Terminal preview from Store 3. Open Terminal and keep focused, then try Windows + Scroll Wheel hotkey to change system volume - this does not work. If you switch to any other app then the hotkey combination works. # Expected behavior Should not interfere with another app's global hotkey configuration that uses the Windows+Scroll wheel. # Actual behavior Prevents another app's Windows+Scroll hotkey from working
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 21, 2020):

I'm concerned about this one, actually. I've not run into any other applications that Terminal consumes the key bindings for...
It seems like there's a >0 chance that 3RVX is doing something untowards to get at the keyboard queue.

Do the hotkeys added by 3RVX work when you're looking at Calc, or Magnifier (in Windows 10.0.19041)?

@DHowett-MSFT commented on GitHub (Feb 21, 2020): I'm concerned about this one, actually. I've not run into any other applications that Terminal consumes the key bindings for... It seems like there's a >0 chance that 3RVX is doing something untowards to get at the keyboard queue. Do the hotkeys added by 3RVX work when you're looking at Calc, or Magnifier (in Windows 10.0.19041)?
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 21, 2020):

(magnifier changed in 19041 to an architecture that's like Terminal's, weirdly enough, so it can help us repro issues like this)

@DHowett-MSFT commented on GitHub (Feb 21, 2020): (magnifier changed in 19041 to an architecture that's like Terminal's, weirdly enough, so it can help us repro issues like this)
Author
Owner

@davidjade commented on GitHub (Feb 21, 2020):

3RVX defined hotkeys seem to work fine with Calc, magnifier, etc... It's just the new Terminal app and it seems just the hotkeys that use the key + mouse scroll are affected. 3RVX source appears to be here, btw : https://github.com/malensek/3RVX

@davidjade commented on GitHub (Feb 21, 2020): 3RVX defined hotkeys seem to work fine with Calc, magnifier, etc... It's just the new Terminal app and it seems just the hotkeys that use the key + mouse scroll are affected. 3RVX source appears to be here, btw : https://github.com/malensek/3RVX
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 21, 2020):

So, weird enough, I can't get this to happen. I bound Win+WheelUp to Volume Up and it works in Terminal and everywhere else. 3RVX Beta 10.

@DHowett-MSFT commented on GitHub (Feb 21, 2020): So, weird enough, I can't get this to happen. I bound Win+WheelUp to Volume Up and it works in Terminal and everywhere else. 3RVX Beta 10.
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 21, 2020):

Triaged into backlog as P2: If we can get a repro, this will be important to fix. Could be an external issue, but we're not yet sure.

@DHowett-MSFT commented on GitHub (Feb 21, 2020): Triaged into backlog as P2: If we can get a repro, this will be important to fix. Could be an external issue, but we're not yet sure.
Author
Owner

@jstaro commented on GitHub (Oct 7, 2021):

I'm concerned about this one, actually. I've not run into any other applications that Terminal consumes the key bindings for...

I also have a similar, hopefully related, problem which might be a clue.
I currently have Win+Ctrl+Space bound to show PowerToys Run, and pressing that key combination works in all programs I'm using, except Windows Terminal. Pressing that key combination when Windows Terminal has focus transforms that global hotkey into just Win+Space, because it will trigger the Language Bar quick switch.

So, either Windows Terminal is somehow swallowing the Ctrl key, when used as part of a hotkey combination that includes the Win key, or it could be an issue with how PowerToys Run processes key events.

I haven't yet tried binding that same hotkey in another program to rule out PowerToys Run being naughty.

@jstaro commented on GitHub (Oct 7, 2021): > I'm concerned about this one, actually. I've not run into any other applications that Terminal consumes the key bindings for... I also have a similar, hopefully related, problem which might be a clue. I currently have Win+Ctrl+Space bound to show PowerToys Run, and pressing that key combination works in all programs I'm using, except Windows Terminal. Pressing that key combination when Windows Terminal has focus transforms that global hotkey into just Win+Space, because it will trigger the Language Bar quick switch. So, either Windows Terminal is somehow swallowing the Ctrl key, when used as part of a hotkey combination that includes the Win key, or it could be an issue with how PowerToys Run processes key events. I haven't yet tried binding that same hotkey in another program to rule out PowerToys Run being naughty.
Author
Owner

@zadjii-msft commented on GitHub (Jul 26, 2022):

@davidjade You still seeing this on a fresh build of 3RVX/? They may have just fixed this on their side in the last few years.

@jstaro I can't seem to repro that on a 0.57 build of PowerToys, I suspect they may have fixed that on their side

@zadjii-msft commented on GitHub (Jul 26, 2022): @davidjade You still seeing this on a fresh build of 3RVX/? They may have just fixed this on their side in the last few years. @jstaro I can't seem to repro that on a 0.57 build of PowerToys, I suspect they may have fixed that on their side
Author
Owner

@ghost commented on GitHub (Jul 30, 2022):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Jul 30, 2022): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6497