On Po, 2024-01-01 at 05:29 -0800, Blast! wrote:
> Hi Team
>
> last week I faced an issue with TeraDesk:
>
https://www.atari-forum.com/viewtopic.php?t=43370 In the end, it
> turned out that the cause was ARAnyM itself.
>
> After switching from Aranym to the host application with ALT+TAB and
> returning back to Aranym, that "ALT" key is remembered and TeraDesk
> sees that key as pressed.
We need to clear IKBD status of all shift keys on losing window focus.
We might also take similar care of Caps Lock key (when clicked inside
of ARAnyM it perhaps should not "propagate" to the host OS).
I wouldn't be surprised if there was some existing code for this very
issue but it might not be working 100%.
Cyprian, please create a GitHub issue so it does not get lost.
Petr