You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when used with LanguageIndicatorCaret (but not with LanguageIndicatorCursor) you can't close the left-clicked tray menu anymore (the 1st Escape seems to always work, but 2nd/3rd+ always fail)
The right click menu continues to work fine on Escape
Do you know what LanguageIndicatorCaret does that can cause this and how to fix it?
Disabling capslock status check state.capslock := GetCapslockState() fixes it, but still don't understand why that happens in the first place
Interestingly enough, it only fails when you check for a Toggle state, so phyiscal state like GetKeyState("Capslock", "P") doesn't bug (though useless)
By the way, why does it check on every tick? As a workaround I've hidden the checks to only happen if layout changes, seems to work
The text was updated successfully, but these errors were encountered:
Thank you for reporting. Can't quite get what is going wrong.
Would you please describe the issue with numbered steps to perform, so we may troubleshoot it?
Add the code lines from the top post to caret-indicator.ahk which simply show the default AHK menu on left click
run caret-indicator.ahk
use LMB over its tray icon, see the script menu appear
press escape button
see the menu disappear as expected the 1st time
(optional) turn the sound on
repeat step 3
repeat step 4
see the menu doesn't disappear the 2nd time and instead hear some error sound
I've since "fixed" it by doing a complete reimplementation of the left click menu to only leave the language changing commands, not the full default menu, and also make its content depend on the current language so that accelerator keys keep working (which is commonly bugged not to be the case as the shortcuts are not based on physical keys and fail if the curent layout doesn't have the old letters defined in the tray menu original layout)
But don't remember whether I've found the solution got to the bottom of the original issue or not
Uh oh!
There was an error while loading. Please reload this page.
For convenience of tray icon menu you can assign it to a left mouse click in addition to the default right click
However, when used with LanguageIndicatorCaret (but not with LanguageIndicatorCursor) you can't close the left-clicked tray menu anymore (the 1st Escape seems to always work, but 2nd/3rd+ always fail)
The right click menu continues to work fine on Escape
Do you know what
LanguageIndicatorCaret
does that can cause this and how to fix it?Disabling capslock status check
state.capslock := GetCapslockState()
fixes it, but still don't understand why that happens in the first placeInterestingly enough, it only fails when you check for a Toggle state, so phyiscal state like
GetKeyState("Capslock", "P")
doesn't bug (though useless)By the way, why does it check on every tick? As a workaround I've hidden the checks to only happen if layout changes, seems to work
The text was updated successfully, but these errors were encountered: