Description of problem: Anki does not work with iBus anymore. Changing the input method works in other programs but not in Anki. Version-Release number of selected component (if applicable): Anki 2.1.4 Anki 2.1.15 How reproducible: The problem occurs in version 2.1.4 (mga6) and 2.1.15 (mga7), every time I type text in Anki. In other programs (Konsole, Kmail, LibreOffice, Firefox, Kate,...), the Chinese characters and Pinyin are input successfully as desired. NOTE : it worked on my Mageia 6 machine successfully for more 1 year and suddenly stopped recently (less than 2 months, maybe this week). My Mageia 7 has the same problem but I did not use Anki on it before. Steps to Reproduce: 1. Open Anki, try to type text in any text zone (eg. while adding a new card), only roman characters are input. 2. Try to cycle through the input languages (Pinyin, Chinese characters, French...), iBus icon doesn't change, input does not cycle and roman characters are input instead 3. Go to another application, cycle successfully through the input languages (Pinyin, Chinese characters, French...), go back to Anki, type text, roman characters are input instead Environment : $ env | grep -E 'ibus|xim' XIM_PROGRAM=ibus-daemon -d -x QT_IM_MODULE=ibus XMODIFIERS=@im=ibus GTK_IM_MODULE=ibus
Thank you Nicolas for this report. Assigning to 'anki' maintainer akien. But if you think it is an iBus problem (because in M6 it seems to have resulted from an update, and unless anki was updated recently, this suggests an iBus update was responsible) please re-assign it as you see fit (ibus has no registered maintainer).
Whiteboard: (none) => MGA6TOOAssignee: bugsquad => rverschelde
- I am experiencing the problem with Konsole, now, but not with other applications -_- - Anki seems to have been upgraded 2.0.52-2.mga7 to 2.1.15-1.mga7 since September.
I tried with the old "vanilla" Anki (Version 2.0.52 downloaded from the Anki website), iBus work correctly with it. I tried the 2.1.15 version from upstream, it fails to work with iBus too. (tested with a new user blank session, just in case). So : seems the bug indeed comes from upstream.
I opened a discussion on the Anki website. https://anki.tenderapp.com/discussions/ankidesktop/36281-bug-anki-2115-for-linux-does-not-work-with-ibus-input-method
It seems the bug has been found and fixed upstream in Ibus and/or Glib, but I am not sure if I understand everything : https://github.com/ibus/ibus/issues/2137 Should the new Ibus be backported to Mageia 7 (and 6) ? How can I help ?
Please test with upcoming glib2.0-2.60.2-1.1.mga7 in Core/Updates_testing repo! glib2.0-common-2.60.2-1.1.mga7 libglib2.0_0-2.60.2-1.1.mga7 libgio2.0_0-2.60.2-1.1.mga7 libglib2.0-devel-2.60.2-1.1.mga7 libglib2.0-static-devel-2.60.2-1.1.mga7 glib-gettextize-2.60.2-1.1.mga7 lib64glib2.0_0-2.60.2-1.1.mga7 lib64gio2.0_0-2.60.2-1.1.mga7 lib64glib2.0-devel-2.60.2-1.1.mga7 lib64glib2.0-static-devel-2.60.2-1.1.mga7
CC: (none) => geiger.david68210
It works ! On my Mageia 7 I can now input Chinese characters and pinyin into Anki (2.1.15). In Firefox too, it seems : 謝謝你! How can I test on Mageia 6 ? Here are the relevant packages I am using now : $ rpm -qa | grep -E 'glib|ibus|gio|anki' | grep -E '1.1.mga' | sort -V anki-2.1.15-1.1.mga7 glib2.0-common-2.60.2-1.1.mga7 glib-gettextize-2.60.2-1.1.mga7 ibus-1.5.20-1.1.mga7 ibus-gtk3-1.5.20-1.1.mga7 ibus-gtk-1.5.20-1.1.mga7 ibus-m17n-1.4.1-1.mga7 ibus-ui-gtk3-1.5.20-1.1.mga7 lib64gio2.0_0-2.60.2-1.1.mga7 lib64glib2.0_0-2.60.2-1.1.mga7 lib64ibus1.0_5-1.5.20-1.1.mga7 lib64ibus-gir1.0-1.5.20-1.1.mga7
(In reply to Nicolas Costes from comment #7) > It works ! > > On my Mageia 7 I can now input Chinese characters and pinyin into Anki > (2.1.15). In Firefox too, it seems : 謝謝你! > > How can I test on Mageia 6 ? Mageia 6 is EOL, so no fix for it, sorry.
Assigning to QA, Advisory: ======================== Since the original CVE-2019-14822 in glib2.0 a regression was introduced which broke iBus. So this update fixes this issue avoiding race condition authenticating GDBusServer with libdbus client. For reference: https://gitlab.gnome.org/GNOME/glib/issues/1831 https://github.com/ibus/ibus/issues/2137 ======================== Packages in 7/core/updates_testing: ======================== glib2.0-common-2.60.2-1.1.mga7 libglib2.0_0-2.60.2-1.1.mga7 libgio2.0_0-2.60.2-1.1.mga7 libglib2.0-devel-2.60.2-1.1.mga7 libglib2.0-static-devel-2.60.2-1.1.mga7 glib-gettextize-2.60.2-1.1.mga7 lib64glib2.0_0-2.60.2-1.1.mga7 lib64gio2.0_0-2.60.2-1.1.mga7 lib64glib2.0-devel-2.60.2-1.1.mga7 lib64glib2.0-static-devel-2.60.2-1.1.mga7 Source RPM: ======================== glib2.0-2.60.2-1.1.mga7.src.rpm
Assignee: rverschelde => qa-bugsWhiteboard: MGA6TOO => (none)Source RPM: (none) => glib2.0-2.60.2-1.mga7.src.rpm
Because the reporter indicates that his issue has been solved, I'm testing for a clean install only: The following 3 packages are going to be installed: - glib2.0-common-2.60.2-1.1.mga7.x86_64 - lib64gio2.0_0-2.60.2-1.1.mga7.x86_64 - lib64glib2.0_0-2.60.2-1.1.mga7.x86_64 Packages installed cleanly, so giving this a 64-bit OK and validating. Advisory in Comment 9.
CC: (none) => andrewsfarm, sysadmin-bugsKeywords: (none) => validated_updateWhiteboard: (none) => MGA7-64-OK
Blocks: (none) => 25276
CC: (none) => qa-bugsAssignee: qa-bugs => geiger.david68210Keywords: validated_update => (none)Whiteboard: MGA7-64-OK => (none)
(In reply to Nicolas Costes from comment #7) > It works ! > > On my Mageia 7 I can now input Chinese characters and pinyin into Anki > (2.1.15). In Firefox too, it seems : 謝謝你! > Nicolas, could you please test the new security-patched packages in Bug 25276 to be sure that the issue you reported here is still fixed? And please report your results there, if you can.
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2019-0352.html
Resolution: (none) => FIXEDCC: (none) => tmbStatus: NEW => RESOLVED
Hello ! Finally upgraded my box, Anki and iBus still work fine together ! - glib-gettextize-2.60.2-1.2.mga7.i586 - glib2.0-common-2.60.2-1.2.mga7.i586 - libgio2.0_0-2.60.2-1.2.mga7.i586 - libglib2.0_0-2.60.2-1.2.mga7.i586