keysym simulation gets affected by capslock
Hello,
As reported on
https://brltty.app/pipermail/brltty/2022-January/019137.html
when at-spi2-core simulates a keysym with spi_dec_synth_keysym
, the keysym translation gets affected by the state of capslock
(yes the report is about brltty paste, but in the precise way he is doing it, that's using synth_keysym
behind, if he was using control-V the normal paste would happen without any issue, but the problem still holds for other kinds of keysym simulation).
I would tend to be submitting this (untested for now) patch:
which just disables the capslock modifier while synthesizing the keysym, to make sure that it doesn't get affected by capslock.
What do you think about doing that? If doing this is fine, I'll test and submit the patch properly.
Samuel