XTYPE {KEY_ENTER} is not working on CITRIX

It sounds like the focus is ok, since other keys are working? Is the host system a Mac, Linux or Windows?

I see two workarounds: