Closed ristomatti closed 5 months ago
The "CapsWord" input mode (triggered from ShifftLeft{ShiftRight}
) is unrelated but included as I had it there while recording. It's not used during the screen capture.
Thanks for reporting! I could reproduce it with this simple configuration:
F5 >> Virtual1
Virtual1 >> $(echo) ^
[title="GPUpad"]
A >> B
After hitting F5
once the contexts are no longer updated.
Up to now the contexts were only updated when no key was hold. The Virtual1
was also wrongly considered in the case when its pressing triggers something.
Now the contexts and configurations are updated even when a key is still hold. The updates were initially disabled to prevent hanging keys when one hits e.g. Control-S
to save a configuration, which immediately reset the state without releasing the keys.
I am happy to report the issue is gone. It's also somewhat of a relief to know it was an actual bug and not just my ability to understand documentation.
Now with the context issue gone, I also got all input modes working consistently by moving "DirectUmlauts" before "AutoShift". Now regardlesss of the focused window, the behavior affects every window (if the context allows).
You are a legend. Thank you!
The class or title context mappings start to leak if a virtual modifier is toggled back and forth on the targeted window. At least with the configuration I have. I got it reproduced in a "minimal" example:
Prerequirements:
us+altgr-int
)class="Xed"
), to be used as the context aware appSteps to reproduce:
ä
froma
,ö
fromo
.ao
, it incorrectly results inäö
Occasionally this also breaks
keymapperd
in some way and it needs to be restarted forkeymapper
to connect to it.I've recorded a screen capture which attemps to demonstrate the bug. I'm not a streamer or a YouTuber, so few potentially confusing screw ups ended on it. On the recording, the reproduction steps aren't exactly as above but the order of execution doesn't make a difference, as long as DirectUmlauts mode is toggled back end forth.
https://github.com/houmain/keymapper/assets/9029939/c854617b-695a-44a0-812f-c7c7208ebeb5