benbuck / rbtray

A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
GNU General Public License v2.0
1.08k stars 89 forks source link

Error while starting RbTray *in windows 11* Couldn't register hotkey #62

Closed kartinul closed 2 years ago

kartinul commented 3 years ago

When i try to start rbtray in windows 11 i get this error (the program still works, but the hotkey does not), i just upgraded to windows 11, im not sure if this issue is with rbtray or windows 11... image

benbuck commented 3 years ago

Hi @kartikfire,

Oh no, that's unfortunate. I don't have Windows 11 yet, but I'm guessing it means that Microsoft started using the same Windows-Alt-Down keyboard shortcut for something. I can't seem to find out what by searching for it, do you have any ideas?

Thanks, Benbuck

kartinul commented 3 years ago

Yes, windows + alt + arrow key's. Changes the position of a window, it's different for windows + arrow key's.

benbuck commented 3 years ago

Hi @kartikfire,

Thanks for verifying that. It means that to be compatible with Windows 11, RBTray will need to change the hotkey it uses to something else that Windows isn't using.

-Benbuck

aadikudo commented 3 years ago

Hey, I also upgraded to Windows 11, and Win-Alt-Down button is now being used to change folder orientation. This particular hotkey was added in version 4.7. So for a quick fix, download version 4.6 until there is an alternate for this.

Edit: It is not a fix for hotkey, but for the error prompt. If anyone else has set RBTray to start alongside windows it might get a little irritating.

kartinul commented 3 years ago

Can there be a feature that allows us to change hotkey? if there is then it would probably fix the issue and users can change the hotkey to what they like.

benbuck commented 3 years ago

@aadikudo: thanks for the suggested temporary workaround.

@kartikfire: that's a reasonable suggestion, let me think about a good way to do that.

Thanks, Benbuck

sirloinofbeef commented 3 years ago

Following for progress

sydbarrett74 commented 3 years ago

Confirming that this happens on WIndows 11 general availability release (10.0.22000.194).

AliMoal commented 3 years ago

Has anyone found a way to fix this permanently?

fragtion commented 3 years ago

Count me in / looking to change hotkey because of Windows 11 yeah. Hooking isn't for me because of game anti-cheats so I need the hotkey to work

fragtion commented 3 years ago

I've created a temporary fork, which modifies only the hotkey, replacing ALT with CTRL. So hotkey is CTRL+WIN+DOWNARROW. It's working great for me, with no error on launch. Feel free to use it until this repo gets updated with a fix: https://github.com/fragtion/rbtray/releases/tag/v4.11

benbuck commented 3 years ago

I pulled in the change from @fragtion and released v4.12 based on that to get Windows 11 users un-blocked quickly. However, this change can't remain, because it doesn't work for Windows 10. Could someone please run this utility on Windows 11 and provide the list of hotkeys in use from that?

Thanks, Benbuck

sirloinofbeef commented 3 years ago

Could someone please run this utility on Windows 11 and provide the list of hotkeys in use from that?

What utility?

benbuck commented 3 years ago

Hi @sirloinofbeef,

I forgot to paste the link, here it is:

http://www.nirsoft.net/utils/hot_keys_list.html

-Benbuck

sirloinofbeef commented 3 years ago

Hot Key Alt Ctrl Shift Windows Key Key Alt+Ctrl+Delete Delete
Alt+Ctrl+F11 F11 Alt+Ctrl+F12 F12 Alt+Ctrl+F8 F8
Alt+Ctrl+Shift+Windows Key+D D
Alt+Ctrl+Shift+Windows Key+L L
Alt+Ctrl+Shift+Windows Key+N N
Alt+Ctrl+Shift+Windows Key+O O
Alt+Ctrl+Shift+Windows Key+P P
Alt+Ctrl+Shift+Windows Key+Space Space
Alt+Ctrl+Shift+Windows Key+T T
Alt+Ctrl+Shift+Windows Key+W W
Alt+Ctrl+Shift+Windows Key+X X
Alt+Ctrl+Shift+Windows Key+Y Y
Alt+F4 F4
Alt+Print Screen
Print Screen
Alt+Shift+Windows Key+F21 F21 Alt+Windows Key+0 0
Alt+Windows Key+1
1
Alt+Windows Key+2
2
Alt+Windows Key+3
3
Alt+Windows Key+4
4
Alt+Windows Key+5
5
Alt+Windows Key+6
6
Alt+Windows Key+7
7
Alt+Windows Key+8
8
Alt+Windows Key+9
9
Alt+Windows Key+B
B
Alt+Windows Key+D
D
Alt+Windows Key+Down
Down
Alt+Windows Key+F
F
Alt+Windows Key+F23
F23 Alt+Windows Key+G G
Alt+Windows Key+Left
Left
Alt+Windows Key+M
M
Alt+Windows Key+Print Screen
Print Screen
Alt+Windows Key+R
R
Alt+Windows Key+Right
Right
Alt+Windows Key+T
T
Alt+Windows Key+Up
Up
Alt+Windows Key+W
W
Alt+Windows Key+Y
Y
Ctrl+Shift+Windows Key+0
0
Ctrl+Shift+Windows Key+1 1
Ctrl+Shift+Windows Key+2
2
Ctrl+Shift+Windows Key+3 3
Ctrl+Shift+Windows Key+4
4
Ctrl+Shift+Windows Key+5 5
Ctrl+Shift+Windows Key+6
6
Ctrl+Shift+Windows Key+7 7
Ctrl+Shift+Windows Key+8
8
Ctrl+Shift+Windows Key+9 9
Ctrl+Shift+Windows Key+B
B
Ctrl+Shift+Windows Key+F21 F21 Ctrl+Shift+Windows Key+F22 F22 Ctrl+Shift+Windows Key+F24 F24 Ctrl+Shift+Windows Key+L L
Ctrl+Shift+Windows Key+Space Space
Ctrl+Windows Key+0
0
Ctrl+Windows Key+1
1
Ctrl+Windows Key+2
2
Ctrl+Windows Key+3
3
Ctrl+Windows Key+4
4
Ctrl+Windows Key+5
5
Ctrl+Windows Key+6
6
Ctrl+Windows Key+7
7
Ctrl+Windows Key+8
8
Ctrl+Windows Key+9
9
Ctrl+Windows Key+Backspace
Backspace
Ctrl+Windows Key+C
C
Ctrl+Windows Key+D
D
Ctrl+Windows Key+E
E
Ctrl+Windows Key+Enter
Enter
Ctrl+Windows Key+F
F
Ctrl+Windows Key+F14
F14 Ctrl+Windows Key+F21 F21 Ctrl+Windows Key+F22 F22 Ctrl+Windows Key+F23 F23 Ctrl+Windows Key+F24 F24 Ctrl+Windows Key+F4 F4
Ctrl+Windows Key+Left
Left
Ctrl+Windows Key+M
M
Ctrl+Windows Key+N
N
Ctrl+Windows Key+O
O
Ctrl+Windows Key+P
P
Ctrl+Windows Key+Q
Q
Ctrl+Windows Key+Right
Right
Ctrl+Windows Key+S
S
Ctrl+Windows Key+Space
Space
Ctrl+Windows Key+V
V
Shift+Windows Key+0
0
Shift+Windows Key+1
1
Shift+Windows Key+2
2
Shift+Windows Key+3
3
Shift+Windows Key+4
4
Shift+Windows Key+5
5
Shift+Windows Key+6
6
Shift+Windows Key+7
7
Shift+Windows Key+8
8
Shift+Windows Key+9
9
Shift+Windows Key+C
C
Shift+Windows Key+Down
Down
Shift+Windows Key+Enter
Enter
Shift+Windows Key+F21
F21 Shift+Windows Key+F22 F22 Shift+Windows Key+Left Left
Shift+Windows Key+M
M
Shift+Windows Key+P
P
Shift+Windows Key+Right
Right
Shift+Windows Key+S
S
Shift+Windows Key+Space
Space
Shift+Windows Key+T
T
Shift+Windows Key+Up
Up
Shift+Windows Key+V
V
Shift+Windows Key+W
W
Windows Key++
+
Windows Key+, ,
Windows Key+.
.
Windows Key+0 0
Windows Key+1
1
Windows Key+2 2
Windows Key+3
3
Windows Key+4 4
Windows Key+5
5
Windows Key+6 6
Windows Key+7
7
Windows Key+8 8
Windows Key+9
9
Windows Key+; ;
Windows Key+=
=
Windows Key+A A
Windows Key+B
B
Windows Key+Backspace Backspace
Windows Key+C
C
Windows Key+D D
Windows Key+Down
Down
Windows Key+E E
Windows Key+Enter
Enter
Windows Key+F F
Windows Key+F1
F1
Windows Key+F14 F14 Windows Key+F15 F15 Windows Key+F16 F16 Windows Key+F21 F21 Windows Key+F22 F22 Windows Key+F24 F24 Windows Key+G G
Windows Key+H
H
Windows Key+Home Home
Windows Key+I
I
Windows Key+J J
Windows Key+K
K
Windows Key+L L
Windows Key+Left
Left
Windows Key+M M
Windows Key+N
N
Windows Key+O O
Windows Key+P
P
Windows Key+Print Screen Print Screen
Windows Key+Q
Q
Windows Key+R R
Windows Key+Right
Right
Windows Key+S S
Windows Key+Space
Space
Windows Key+T T
Windows Key+U
U
Windows Key+Up Up
Windows Key+V
V
Windows Key+W W
Windows Key+X
X
Windows Key+Z * Z

dreamforceinc commented 3 years ago

Maybe use ALT+CTRL+DOWN hotkey ? I'll check this tomorrow.

benbuck commented 3 years ago

Thanks @sirloinofbeef.

I just pushed out release 4.13 that uses Win-Alt-Control-Down. It works under Windows 10, I would appreciate if someone could verify that this also works with Windows 11.

Thanks, Benbuck

fragtion commented 3 years ago

4 keys just to minimize a window to tray? Nha fam

sirloinofbeef commented 3 years ago

verify that this also works with Windows 11.

Working flawlessly. Thanks for all your work.

Nechepso commented 2 years ago

verify that this also works with Windows 11.

Working flawlessly. Thanks for all your work.

Unfortunately, not with all keyboards, it seems. I have a USB Microsoft Comfort Curve Keyboard plugged to my laptop. When I use the laptop's integrated keyboard, the Win+Ctrl+Alt+Down shortcut works fine. However, when I use the USB keyboard, it doesn't.

My suspicion is that not all keyboards are able to send a 4-key press combination (not this specific one at least). See this Stack Exchange entry, for instance. I didn't try to capture key presses sent by my keyboard to confirm it was the actual problem, though.

Maybe use ALT+CTRL+DOWN hotkey ? I'll check this tomorrow.

According to @sirloinofbeef's dump, this shortcut seems available, it's only using 3 keys and it's very close to the original one (it just uses the Ctrl key instead of the Win key). Would it be possible to give it a try?

In any case, many thanks for maintaining this very useful software! 🙏

dreamforceinc commented 2 years ago

According to @sirloinofbeef's dump, this shortcut seems available, it's only using 3 keys and it's very close to the original one (it just uses the Ctrl key instead of the Win key). Would it be possible to give it a try?

I checked it. Finally! :) It (Alt+Ctrl+Down) works for me on Win10x64.

If someone wants, they can test it in my fork: Link. Particularly interested users with Windows 11.

benbuck commented 2 years ago

Hi @dreamforceinc,

I just released version 4.14 which uses Ctrl-Alt-Down as the hotkey.

Take care, Benbuck

guicbrito commented 1 year ago

I can confirm this bug still exists on Windows 11. I'm using RBTray 4.14 on Windows 11 Education N edition (fresh install). The bug prevents RBTray from registering the hotkey and shows an error message every time it is launched. The error message is "Couldn't register hotkey". The right-click functionality works fine, but the hotkey does not. The bug is reproducible with the following steps:

  1. Install RBTray.
  2. Launch RBTray and see the error message.
  3. Try to use the hotkey and see that it does not work.
  4. Right-click the minimize button (or shift + right click) and see that it works.

There is no way to change the hotkey or access any settings for RBTray. I wouldn't mind not using the hotkey, but the error prompt is unbearable.

netdog2019 commented 1 year ago

I also confirm this bug still exists on Windows 11. I'm using RBTray 4.14

pokemaster974 commented 1 year ago

Hello, I got this bug also on W10 (22H2)

Greggles182 commented 3 months ago

Hi. Ctrl+Alt+Down Arrow turns my screen upside down. I am on latest Win 10 Pro. It also comes up with the error on latest release of this application on main branch. How to fix?