Description of problem: After recent update, ibus freezes sometimes while switching input method. Version-Release number of selected component (if applicable): $ rpm -qa | grep "^ibus" | sort ibus-1.5.9-4.fc20.i686 (Updated recently) ibus-1.5.9-4.fc20.x86_64 (Updated recently) ibus-chewing-1.4.10.1-1.fc20.x86_64 ibus-devel-1.5.9-4.fc20.x86_64 (Updated recently) ibus-gtk2-1.5.9-4.fc20.i686 (Updated recently) ibus-gtk2-1.5.9-4.fc20.x86_64 (Updated recently) ibus-gtk3-1.5.9-4.fc20.i686 (Updated recently) ibus-gtk3-1.5.9-4.fc20.x86_64 (Updated recently) ibus-handwrite-2.1.4-11.fc20.x86_64 ibus-hangul-1.4.2-7.fc20.x86_64 ibus-input-pad-1.4.99.20140916-1.fc20.x86_64 ibus-kkc-1.5.20-1.fc20.x86_64 ibus-libpinyin-1.6.92-2.fc20.x86_64 ibus-libs-1.5.9-4.fc20.i686 (Updated recently) ibus-libs-1.5.9-4.fc20.x86_64 (Updated recently) ibus-m17n-1.3.4-12.fc20.x86_64 ibus-mozc-1.15.1814.102-1.fc20.x86_64 ibus-panel-extensions-1.4.99.20111207-6.fc19.i686 ibus-panel-extensions-1.4.99.20111207-6.fc19.x86_64 ibus-panel-extensions-python-1.4.99.20111207-6.fc19.x86_64 ibus-pinyin-1.5.0-5.fc20.x86_64 ibus-qt-1.3.3-1.fc20.x86_64 ibus-rawcode-1.3.2-3.fc20.x86_64 ibus-rime-1.1-1.fc20.x86_64 ibus-setup-1.5.9-4.fc20.noarch (Updated recently) ibus-table-1.9.1-1.fc20.noarch ibus-table-chinese-1.8.2-1.fc20.noarch ibus-table-chinese-wubi-haifeng-1.8.2-1.fc20.noarch ibus-table-chinese-wubi-jidian-1.8.2-1.fc20.noarch ibus-table-devel-1.9.1-1.fc20.noarch ibus-typing-booster-1.2.11-1.fc20.noarch ibus-wayland-1.5.9-4.fc20.i686 (Updated recently) ibus-wayland-1.5.9-4.fc20.x86_64 (Updated recently) How reproducible: Sometimes(40% of switching action) Steps to Reproduce: 1. Configure ibus with following input method: Japanese, Mozc, Chinese-wubi-jidian 2. Open a application that can input text(such as terminal, text editor). 3. Switch input method from Japanese to Chinese-wubi-jidian and switch back. Actual results: Sometimes ibus freezes for 20-30 seconds and I cannot input any text even in other applications during that period. Expected results: ibus should finish input method switching in 3 seconds. Additional info: Is this a problem of ibus or ibus-table-chinese?
When do you see the problem? I guess the first time to switch your engine when you log into the session. You could see which ibus processes are running with 'ps -ef | grep ibus' before you switch the engines. I guess you don't see your problem after you switch the engines at once. Do you use GNOME session?
Thank you very much for your reply. 1. I am using MATE desktop. 2. This problem happens not only the first time when I switch to Wubi-jidian input method. Sometimes it happens almost every time while switching to Wubi-jidian input method. 3. I tried to download ibus.src.rpm and rebuild the rpm file without ibus-xx-increase-timeout.patch file and it solved my problem. Maybe the ibus-xx-increase-timeout.patch file causes my problem.
(In reply to Daniel from comment #2) > 3. I tried to download ibus.src.rpm and rebuild the rpm file without > ibus-xx-increase-timeout.patch file and it solved my problem. Maybe the > ibus-xx-increase-timeout.patch file causes my problem. Really? Could you please try to build ibus with ibus-xx-increase-timeout.patch by yourself again if you can reproduce your problem? If it's the root cause, probably I should remove the async API in that patch.
Thank you very much for your reply. Here is what I tried on both binary with and without ibus-xx-increase-timeout.patch: Switch from Japanese to Wubi-jidian("Chinese - WuBi-Jidian-86-JiShuag-6.0") and switch back for several times. Here is what I got: 1. binary with ibus-xx-increase-timeout.patch Everytime it took about 25 seconds for me the finished the switching. During the 25 seconds, ibus got freeze and I cannot input anything even in other windows. 2. binary without ibus-xx-increase-timeout.patch The switching finished in 2-3 seconds. BTW, I also have "Chinese - Intelligent Pinyin" and "Japanese - Mozc" installed and the switching with Japanese input method had no problem for binary with the ibus-xx-increase-timeout.patch. Maybe the patch is the root cause, or the ibus-table-chinese should be changed to be compatible with the ibus-xx-increase-timeout.patch.
I cannot reproduce your problem. Could you replace ibus-xx-increase-timeout.patch with the following patch and build ibus by yourself if your problem can be fixed? https://fujiwara.fedorapeople.org/ibus/20141117/ibus-xx-increase-timeout.patch
Do you have any status?
Daniel: Are you able to test the patch in comment #5? I'm interested in your problem.
Thank you very much for your contact. I have been out of my office since 17th Nov and will be back on 27th Nov. I will test your patch on the day of my back to office. Thank you again for your contact.
(In reply to fujiwara from comment #5) > I cannot reproduce your problem. > > Could you replace ibus-xx-increase-timeout.patch with the following patch > and build ibus by yourself if your problem can be fixed? > https://fujiwara.fedorapeople.org/ibus/20141117/ibus-xx-increase-timeout. > patch Thank you very much for your new patch file. Unfortunately, the new patch doesn't solve my problem. Sometimes it still takes too long time for me to switch from "Japanese" to "Wubi-jidian".
Thank you for your test. Now I created a new patch: https://fujiwara.fedorapeople.org/ibus/20141127/ibus-xx-increase-timeout.patch Could you replace ibus-xx-increase-timeout.patch and build ibus? I think this patch fixes your problem.
Thank you very much for your new patch file. I tested it for 10 times of switch between "Japanese" and "Wubi-jidian" and there was no problems. I will keep the new binary running and if there are any problems, I will report them here. Thank your again for your new patch file.
Thank you for the test.
ibus-1.5.9-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ibus-1.5.9-6.fc20
ibus-1.5.9-6.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ibus-1.5.9-6.fc21
Package ibus-1.5.9-7.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ibus-1.5.9-7.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16630/ibus-1.5.9-7.fc21 then log in and leave karma (feedback).
ibus-1.5.9-8.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
ibus-1.5.9-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.