-
Notifications
You must be signed in to change notification settings - Fork 16
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
Hotkeys cease functioning when Caps Lock is on #85
Comments
Hi! I couldn't quite believe it, but you're right. Apparently this never bothered anybody, including me. I think I have fixed the CapsLock issue, but only in the non-released version (release probably in a week or so). So if you want to use it right away, you need to compile from source. Regarding the unicode problem - no idea, and looks rather complicated, for now you'll have to keep using your workaround, sorry. (there's also #34 which is probably the same thing) |
ahh, but when using |
and yes, currently all keys are downcased when processed. Fixing this is rather non-trivial, yet WIP. |
The capslock issue fix has now also been released |
Just tested out, unfortunately the bug is still present 😔 |
ummm you're right, unsure why. will have to have another look o.o |
Previous title: Hotkeys assigned to number row cease functioning when Caps Lock is on
Distro: Xubuntu 24.04 running X on VMWare Workstation 17 Pro hypervisor
Expected behavior (also noted in the docs)
4::MsgBox, test
– works when Caps Lock is off, message box with "test" is displayed instead of "4" being sent as keyboard input. However, when Caps Lock is on, on the contrary, "4" is being sent as keyboard input.I've taken means of troubleshooting this issue by prefixing the
4
here with modifiers, like*
,$
,~
, however that didn't solve anything.I'm left with an assumption that such behavior is a bug on behalf of AHK_X11.
PS. Please implement UTF-8/Unicode support whenever it's possible. It severely hinders my use cases for which I'd be using this program for, as I happen to be a non-English speaker, that deals with modified Latin alphabet outside ASCII on a daily basis. Nevertheless, it seems that I'm able to input the characters with
Run, xdotool key [code]
, which appears to be a working solution in the meanwhile, albeit the increased typing latency from such "hack" is present. Otherwise kudos for taking a step forwards in replicating AutoHotkey for Linux.Edit:
Okay, it is a bug – ALL of the hotkeys break once keyboard is in Caps Lock state. Not just those within the scope of number row.
Also, it appears that there is no differentiation of lower-case and upper-case letters, as in this script:
if key = i
condition takes place despite the case, lineRun, xdotool key U021B
gets executed. If Caps are on, NOTHING gets executed at all, and "I" is sent as input as usual.The text was updated successfully, but these errors were encountered: