{"action":"opened","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/739","labels_url":"https://api.github.com/repos/eranif/codelite/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/739/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/739/events","html_url":"https://github.com/eranif/codelite/issues/739","id":71064799,"number":739,"title":"No IME/Compose support in main editor window","user":{"login":"DarrenCook","id":880436,"avatar_url":"https://avatars.githubusercontent.com/u/880436?v=3","gravatar_id":"","url":"https://api.github.com/users/DarrenCook","html_url":"https://github.com/DarrenCook","followers_url":"https://api.github.com/users/DarrenCook/followers","following_url":"https://api.github.com/users/DarrenCook/following{/other_user}","gists_url":"https://api.github.com/users/DarrenCook/gists{/gist_id}","starred_url":"https://api.github.com/users/DarrenCook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarrenCook/subscriptions","organizations_url":"https://api.github.com/users/DarrenCook/orgs","repos_url":"https://api.github.com/users/DarrenCook/repos","events_url":"https://api.github.com/users/DarrenCook/events{/privacy}","received_events_url":"https://api.github.com/users/DarrenCook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-26T13:09:35Z","updated_at":"2015-04-26T13:09:35Z","closed_at":null,"body":"If I start codelite with `GTK_IM_MODULE=xim codelite` (which is the default, at least on recent Ubunut/Mint distros), then the keyboard shortcuts to toggle Japanese on/off in ibus-anthy get ignored. If I use the mouse to switch it on, then I can see a little window where the keyboard input goes, but pressing Enter does not put it in the editor window. Keypresses are being swallowed. In addition, the compose key does not work, so £, á, etc. cannot be typed.\r\n\r\nIf I start with `GTK_IM_MODULE=ibus codelite` then it is almost the same, except no keypresses go to the IME at all. (I.e. I use the mouse to switch anthy into japanese mode, but my keypresses go straight into the editor window as ascii). However, Compose keys do work.\r\n\r\nAs I just noted in #38 single-line input boxes, such as naming a new workspace, have different behaviour (very bad one with `xim`, working perfectly fine with `GTK_IM_MODULE=ibus`).\r\n\r\nBug #441 might be related, and says Scintilla is to blame. I use SciTE on this machine, which is fine with xim... but a test just showed it does not work at all with `GTK_IM_MODULE=ibus`).\r\n\r\nSo it may turn out that you are caught in the tight spot between two bugs, neither of which you can do anything about?\r\n  xim does not work with GTK3 programs\r\n  ibus does not work with editors built on top of scintilla\r\n"}}