This has been an issue opened for a long time and has not been solved yet.
I know this might not be your problem, might be the library you are using or something, but at least would please tell me what library is causing this problem so that I could ask them to fix the problem in Linux?
I really like this editor and that’s why I bought it to support you. However, I’ve been using Atom to replace it because atom works with any OS and I could use any input method I like.