I can't run fcitx on Atom #5447
Comments
@gongbaodd Can you clarify what fcitx is exactly (I've never heard about it) and why you can't use it in Atom (are you seeing an error or some other unexpected behavior)? Sharing more details and perhaps a screenshot would be helpful. |
fcitx is an input method framework. It supports multiple input method engines and you can input languages such as Chinese, Japanese, and Korean with fcitx. Some information about fcitx:
I'm not quite familiar with fcitx, though. On GNU/Linux, I usually use SCIM or IBus when inputting CJK characters. Just FYI - Emacs also has many built-in input methods (although the Chinese ones are somewhat inefficient, I think). Moreover, Vim has ywvim and VimIM. |
@xfq Unless there's something I'm missing, the emacs/vim input methods are irrelevant here. (Furthermore, I use emacs and it's input method support is terrible in many ways.) @izuzak I just installed atom and tested Fcitx on it. It seems that the input method originally works fine but sometimes when atom window got focus, the focus is not in the input region (the cursor is not blinking) and (I'm guessing) you are manually forwarding the key event which confuses/breaks the input method. @wengxt @gongbaodd if you are not able to use fcitx at all, please paste |
A stable reproducible way to trigger a input method related bug is open the menu from menubar, then input method focus will be messed up. @yuyichao it's a chrome/chromium based editor, I doubt they are doing anything specificly. I know opera and chrome are suffering from a similar issue that focus of input method might not work in some case. There are some effort from chromium to fix focus problem. From latest code, this hidden option is still needed to be enabled manually: I don't know if atom accept chromium specific argument, but @gongbaodd you can try atom --enable-text-input-focus-manager to see if it works better. I do notice with this argument or without this argument make a small difference, but both have some bug. |
Thanks for the comments @xfq @yuyichao @wengxt. I have to admit that I have little knowledge about those things, so just trying to get as much information and context as possible. Looking at some other issues, I noticed #2266 and #5328 (maybe #2242 as well?). Do those issues look like they cover the problem described in this issue? If so, it would be great to have a single issue with all the necessary information. |
@izuzak Input method related issue is quite platform specific . This is on mac, so I have no idea about that. Usually, one won't be able reproduce same input method bug different platform. #5328 For #2242 , from the log most likely ibus itself crashed. (fcitx and ibus are both input method framework under linux, users need to pick one of them to use input method to type their languages, especially for CJKV users.) |
Ah, for #2242, what ever the original reports might be the same issue. For @khanhicetea 's case in #2242, ibus might just crash. |
I can't run fcitx on Atom Editor v1.0.2,
|
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
atom version:0.177.0
archLinux: x86_64
fcitx version: 4.2.8.5
I can use fcitx in Chrome/Chromium.But I cannot type Chinese in atom of this version.
The text was updated successfully, but these errors were encountered: