https://bugzilla.redhat.com/show_bug.cgi?id=1382982
Bug ID: 1382982 Summary: Fedora iBus typing language detector breaks events call stack of web pages Product: Fedora Version: 24 Component: ibus Severity: urgent Assignee: tfujiwar@redhat.com Reporter: danielemi@hotmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, shawn.p.huang@gmail.com, smaitra@redhat.com, tfujiwar@redhat.com
Created attachment 1208438 --> https://bugzilla.redhat.com/attachment.cgi?id=1208438&action=edit html page for test purpose
Description of problem: My Fedora box is configured with two typing language between which I can switch, English and Chinese. I'm using Firefox v49 as browser. I'm developing a webpage, a registration form using jQuery on the validation part. The registration form contain 4 input controls with 2 password controls, all validated on the blur event. The form script is kind of complex one using blur, and focus events and a list of functions. The form script completely mess up on the live validation of the fields due to the presence of the two password controls on which only latin alphabet is allowed. The ibus language detector change on the fly when the two password fields received focus causing blur and focus events of different contols to happen in unexpected order. It is like ibus is taking the focus and releasing. I tested both jQuery (all the available methods) and pure javascript with the same result. I had the chance to try other websites using blur and focus events on password fields and are completely mess up too. To finish my job I will unset the Chinese IME. I can't guess what is about application development in the same context.
Version-Release number of selected component (if applicable): Fedora 24 4.7.5-200.fc24.x86_64 ibus-1.5.13-3.fc24.x86_64
How reproducible: https://jsfiddle.net/8tqwL7y5
Steps to Reproduce: 1. Settings, Region and Lanaguges, input sources: set English (US) and Chinese (intelligent Pinyin) 2. try the link 3. try the webpage attached
Actual results: Blur event doesn't happen or happen just mixed up with other events like other control's Focus events.
Expected results: Blur and Focus events get fired in common order on the events call stack
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
danielemi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Fedora iBus typing language |Fedora iBus typing language |detector breaks events call |detector breaks event call |stack of web pages |stack of web pages
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |danielemi@hotmail.com Flags| |needinfo?(danielemi@hotmail | |.com)
--- Comment #1 from fujiwara tfujiwar@redhat.com --- I tried that page with "Chinese (intelligent Pinyin)". When the focus is out, every input box launches the alert dialog.
I think I don't see your problems.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
danielemi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(danielemi@hotmail | |.com) |
--- Comment #2 from danielemi@hotmail.com --- No, on the password fields their respective blur events are fired when they received the focus.
You should set English and Chinese languages together.
Read the alerts carefully (if helps comment out the javascript for the focus events).
The problem happens both if you have selected the English or the Chinese IME.
I'm sorry you can't catch it.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
--- Comment #3 from danielemi@hotmail.com --- Please note that I'm inside a Virtualbox VM. My Fedora 24 is the guest OS.
Who knows that this makes any difference..
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(danielemi@hotmail | |.com)
--- Comment #4 from fujiwara tfujiwar@redhat.com --- (In reply to danielemi from comment #2)
You should set English and Chinese languages together.
I did it.
Read the alerts carefully (if helps comment out the javascript for the focus events).
I think I read your problem while I don't catch your description completely.
I don't think your problem can happen in every desktop. Describe which desktop you tried.
(In reply to danielemi from comment #3)
Please note that I'm inside a Virtualbox VM. My Fedora 24 is the guest OS.
Me too.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
danielemi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(danielemi@hotmail | |.com) |
--- Comment #5 from danielemi@hotmail.com ---
I think I read your problem while I don't catch your description completely.
The problem is simple: on the password fields their respective blur events are fired when they received the focus.
In theory, this means that any login form of any website that do client-side validation on the blur events get broken (it appears a good trick to contain the chinese people from using Linux to surf Internet)
I don't think your problem can happen in every desktop. Describe which desktop you tried.
If I unset the Chinese IME, the problem disappears. So, it seems difficult the problem is related to the host OS.
However, to answer, I'm using Windows7 SP1 64 with KVM acceleration enabled.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(danielemi@hotmail | |.com)
--- Comment #6 from fujiwara tfujiwar@redhat.com ---
However, to answer, I'm using Windows7 SP1 64 with KVM acceleration enabled.
No, I don't ask Windows and we don't support IBus on Windows too. I'm asking you which desktop is used in Fedora 24 on VM box.
I verified XFDE is no problem.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
danielemi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(danielemi@hotmail | |.com) |
--- Comment #7 from danielemi@hotmail.com ---
I verified XFDE is no problem.
I'm using gnome 3.20.4
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
danielemi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Fedora iBus typing language |gnome: iBus typing language |detector breaks event call |detector breaks event call |stack of web pages |stack of web pages
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|urgent |medium
--- Comment #8 from fujiwara tfujiwar@redhat.com --- GNOE relative issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
--- Comment #9 from fujiwara tfujiwar@redhat.com --- GNOME relative issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
--- Comment #10 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|24 |rawhide Summary|gnome: iBus typing language |gnome: iBus typing language |detector breaks event call |detector breaks event call |stack of web pages |stack of JavaScript
--- Comment #11 from fujiwara tfujiwar@redhat.com --- I'm still a bit busy to investigate the JavaScript issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
Satyabrata Maitra smaitra@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |i18n
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
--- Comment #13 from fujiwara tfujiwar@redhat.com --- I think this is not relative with ibus. Even if I delete "Chinese (intelligent Pinyin)", I can reproduce this problem in both GNOME Wayland and GNOME Xorg.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
--- Comment #14 from fujiwara tfujiwar@redhat.com --- Created attachment 1456691 --> https://bugzilla.redhat.com/attachment.cgi?id=1456691&action=edit test-html3.html
Now I can reproduce this problem in XFCE desktop too in Fedora 28.
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(danielemi@hotmail | |.com)
--- Comment #15 from fujiwara tfujiwar@redhat.com --- I tried attached test-html3.html
@danielemi@hotmail.com Probably I think this issue is caused by jquery or firefox?
https://bugzilla.redhat.com/show_bug.cgi?id=1382982
fujiwara tfujiwar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |0xalen@protonmail.com, | |alexl@redhat.com, | |gecko-bugs-nobody@fedorapro | |ject.org, | |jhorak@redhat.com, | |john.j5live@gmail.com, | |kengert@redhat.com, | |pjasicek@redhat.com, | |rhughes@redhat.com, | |rstrode@redhat.com, | |sandmann@redhat.com Component|ibus |firefox Version|27 |28 Assignee|tfujiwar@redhat.com |gecko-bugs-nobody@fedorapro | |ject.org
--- Comment #16 from fujiwara tfujiwar@redhat.com --- Forwarding to firefox since this can be reproduced without ibus.
i18n-bugs@lists.fedoraproject.org