Bug 16317 - Broken IBus IM with the mga5 firefox update to 38.1.0.
Summary: Broken IBus IM with the mga5 firefox update to 38.1.0.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA5-64-OK MGA5-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-07-07 09:38 CEST by Edward d'Auvergne
Modified: 2015-07-28 23:03 CEST (History)
5 users (show)

See Also:
Source RPM: ibus
CVE:
Status comment:


Attachments

Description Edward d'Auvergne 2015-07-07 09:38:13 CEST
Description of problem:

In Mageia 5, the original firefox version (firefox-31.7.0-1.mga5.x86_64.rpm) worked fine with the IBus system.  However the update to version 38.1.0 broke the IBus support.  This was tested with Hindi and Chinese input.

Version-Release number of selected component (if applicable):

firefox-38.1.0-1.mga5.x86_64.rpm

How reproducible:

100%

Steps to Reproduce:

1.  Mageia Control Center->System->Manage localization for your system.

2.  For the first page of the wizard, select any latin script language.

3.  In the second page, select any country, then set the input method to IBUS.

4.  Make sure that the following are installed (for Chinese input in all GUI toolkits):
ibus-1.5.8-6.mga5
ibus-chewing-1.4.10.1-3.mga5
ibus-gtk-1.5.8-6.mga5    (Note - this is required for firefox IBus input),
ibus-gtk3-1.5.8-6.mga5
ibus-libpinyin-1.6.92-3.mga5
ibus-m17n-1.3.4-6.mga5
ibus-pinyin-1.5.0-6.mga5
ibus-qt4-1.3.3-3.mga5
ibus-table-1.8.10-3.mga5
ibus-table-extraphrase-1.3.9.20110826-5.mga5
ibus-table-others-1.3.0.20100528-8.mga5
ibus-table-translit-1.3.0.20100528-8.mga5
ibus-ui-gtk3-1.5.8-6.mga5
lib64ibus1.0_5-1.5.8-6.mga5
lib64ibus-gir1.0-1.5.8-6.mga5
libibus1.0_5-1.5.8-6.mga5    (Note that this was previously required for 32-bit skype)

5.  Log out, then log in.

6.  In KDE, IBus is running in the tray of system icons.  Right click and select 'Preferences'.

7.  In the 'Input Method' tab, click on 'Add', and select 'Chinese', 'Intelligent Pinyin'.

8.  Hit [<Super>space] to switch to chinese and start typing.  Try 'nihao' which should show 'hello' in chinese (你好).  This works everywhere but in the new firefox version.


Reproducible: 

Steps to Reproduce:
Comment 1 Edward d'Auvergne 2015-07-07 09:46:00 CEST
Strangely, downgrading to the original firefox-31.7.0-1.mga5.x86_64.rpm version does not restore IBus support.  I am typing with Hindi turned on.
Comment 2 Edward d'Auvergne 2015-07-07 11:27:57 CEST
Installing the lib64suil* packages fixed the issue (or it could have been ibus-devel, though unlikely).  However, even more strangely, uninstalling them does not revert the behaviour of not being able to use IBus!

Actually, with a lot of testing of restarting the computer with IBus set to either English or Chinese, the bug appears to be highly inconsistent.  Sometimes it works in Firefox, and sometimes it does not.  I am wondering if it has something to do with this obscure bug fix:

    https://github.com/ibus/ibus/commit/83451e476b5ec98aa38e333038077f9e5b2b087d

This was in the IBus 1.5.10 bugfix release (https://github.com/ibus/ibus/releases).  Or maybe this other 1.5.10 bugfix:

    https://github.com/ibus/ibus/commit/1b668f667eaef08dfbbbdf04a0865ea086f4250a

Mga5 is using 1.5.8 released on 24 Jul 2014.  Would it be possible to have 1.5.10 pushed into the testing repositories?  IBus 1.5.9 and 1.5.10 are pure bugfix releases, see:

    https://github.com/ibus/ibus/releases/tag/1.5.10
    https://github.com/ibus/ibus/releases/tag/1.5.9
Samuel Verschelde 2015-07-07 11:30:22 CEST

Assignee: bugsquad => fundawang
Source RPM: (none) => ibus

Samuel Verschelde 2015-07-07 11:59:07 CEST

CC: (none) => yochenhsieh

Comment 3 You-Cheng Hsieh 2015-07-07 16:31:20 CEST
Hello,
Considering that 1.5.10 contains mostly bugfixes, I submit it to core/updates_testing. Please test it throughly in case of any possible regression or inclusion of new bugs.

Suggested advisory:
========================
ibus 1.5.10 was released just 2 days after we have release freeze for cauldron. It includes many bugfixes that should(might) resolve (un)reported bugs that relate to input methods since then.

References:
    https://github.com/ibus/ibus/releases/tag/1.5.10
    https://github.com/ibus/ibus/releases/tag/1.5.9
========================

Updated packages in core/updates_testing:
========================
ibus-1.5.10-1.mga5
ibus-gtk-1.5.10-1.mga5 
ibus-gtk3-1.5.10-1.mga5
ibus-ui-gtk3-1.5.10-1.mga5
lib(64)ibus1.0_5-1.5.10-1.mga5
lib(64)ibus-gir1.0-1.5.10-1.mga5
ibus-devel-1.5.10-1.mga5

Source RPMs: 
ibus-1.5.10-1.mga5.src.rpm
Comment 4 Samuel Verschelde 2015-07-07 17:24:21 CEST
If it's meant as an update candidate, which it looks like, don't forget to assign to QA :)
Comment 5 You-Cheng Hsieh 2015-07-07 17:55:41 CEST
Re-assign to QA. Thanks for reminder.
The version/release to be tested is ibus-1.5.10-1.mga5, as noted in comment#3.

Assignee: fundawang => qa-bugs

Comment 6 Dave Hodgins 2015-07-08 02:00:19 CEST
Advisory committed to svn.

CC: (none) => davidwhodgins
Whiteboard: (none) => advisory

Comment 7 You-Cheng Hsieh 2015-07-08 17:18:37 CEST
Testing completed Mageia 5 i586 for ibus-1.5.10-1.mga5.src.rpm:
- can input Chinese in firefox-38.1.0-1.mga5
- no regression or new bugs so far.

It would be helpful if someone can help test x86-64 and input in both i586 and x86-64 programs, e.g. firefox and skype. Just in case I did anything wrong.

Whiteboard: advisory => advisory MGA5-32-OK

Comment 8 claire robinson 2015-07-08 17:30:41 CEST
Joseph, Funda are you able to help with testing this one please?

CC: (none) => fundawang, joequant

Comment 9 You-Cheng Hsieh 2015-07-12 13:53:52 CEST
I have bad news for you... After a few days retrials, the problem seems still there but not always replicable. I cannot figure out a specific procedure to reproduce it. But this problem does only happen with firefox.

A workaround is to run firefox with following command:
export GTK_IM_MODULE=xim && firefox

Whiteboard: advisory MGA5-32-OK => advisory

Comment 10 Edward d'Auvergne 2015-07-19 19:16:09 CEST
Extensive testing of the core/updates_testing 1.5.10 version of IBus seems to work fine for me in 32-bit Skype and 64-bit Firefox.  One of the fixes was simply a longer timeout, but I cannot replicate the bug any more (possibly because my computer loads so fast that this is not triggered - it's both a fast computer and runs of a SSD).
Comment 11 You-Cheng Hsieh 2015-07-28 10:03:23 CEST
Tested for about two weeks on another new install of mga5 32bit with firefox 38.1 and ibus 1.5.10. I have no problem with this new install and everything seems work fine here.

At most circumstances, ibus 1.5.10 will resolve this bug.
Sometimes, but not always, the problem still appears (see comment #9) and workaround is available.
Comment 12 Samuel Verschelde 2015-07-28 10:21:31 CEST
Adding MGA5-32-OK as per comment 11 and MGA5-64-OK as per comment 10. 

If I understood your test results correctly, the update is ready to be pushed. Am I right?

Whiteboard: advisory => advisory MGA5-64-OK MGA5-32-OK

Comment 13 You-Cheng Hsieh 2015-07-28 10:31:59 CEST
Yes, I think this update is ready. Thanks everyone for the assistance.:)
Comment 14 Samuel Verschelde 2015-07-28 10:35:20 CEST
Validating, then.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 15 Mageia Robot 2015-07-28 23:03:04 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0075.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.