Closed Bug 762388 Opened 12 years ago Closed 3 years ago

Using bilingual IME in the URL bar can cause the keyboard layout to change involuntarily

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect, P3)

14 Branch
ARM
Android
defect

Tracking

(blocking-fennec1.0 -)

RESOLVED INCOMPLETE
Tracking Status
blocking-fennec1.0 --- -

People

(Reporter: ezh, Unassigned)

Details

HTC One X. Open keyb in Russian. Start typing in urlbar and the keyb will change to English by itself.
FF beta. And two keyb are installed: rus & eng.
actually it is fixed in nightly.
Can you reproduce on Aurora? http://www.mozilla.org/en-US/mobile/aurora/

Chris, any idea what the fix is? Should it have landed on Beta?
Component: General → IME
QA Contact: general → ime
Hardware: Other → ARM
blocking-fennec1.0: --- → ?
The nightly has it also.
You mean Aurora?
Nope, I mean Nightly. I tested it once again and could also reproduce.
Eugene, can you reproduce this with Android's stock browser (or any other apps)?

Switching my Galaxy Nexus from English to Russian language, the default keyboard does not seem to support Cyrillic characters. If I then switch my input method to alternate keyboard (such as "Hacker's Keyboard"), then the keyboard displays Cyrillic characters. I see this with any Android app.
Re-nom if this turns out to be Firefox specific
blocking-fennec1.0: ? → -
Have not seen the problem in any other browser or program.

The same behavior is on HTC Flyer (Android 3.2) and Aurora, using HTC keyboard.

The same on the original Asus Transformer (Android 4.0.3) using Asus SW keyboard and latest Nightly. Cannot reproduce using the standard Android keyboard.
Eugene, have you installed any third-party keyboards?

When you say "Russian keyboard", do you mean Android's default keyboard with Cyrillic characters or do you mean a third-party app called "Russian Keyboard". The Google Play store has at least two apps with the generic name "Russian Keyboard", one from Code Sector and another from GameWarrior.
qawanted, can you reproduce this bug with Nightly and/or Android's stock browser?
Keywords: qawanted
I use stock HTC keyb. On Asus I wrote that android keyb does not have the issue, but the Asus keyboard has.
Assignee: nobody → cpeterson
I tried to reproduce this issue using 2 scenarios:

Scenario 1:
OS Language: English
IME: English + Russian (set to Russian)
Result: The issue was not reproducible

Scenario 2:
OS Language: Russian
IME: Russian (default)
Result: The issue still not reproducible

--
Firefox 16.0a1 (2012-06-10)
Device: Galaxy Nexus
OS: Android 4.0.2
Galaxy Nexus has the build-in Android keyb. On that keyb I also cannot reproduce it. HTC and Asus have they own keyb.

BTW It is not always reproducible, I believe you should open a new tab and only then it will change the layout.
Video. Sorry for the quality. 

http://www.youtube.com/watch?v=jEvzMkETbuk&feature=youtu.be
Keywords: qawanted
Note: hangul (한글) is the name for the Korean alphabet.

I have this issue with the Korean keyboard layout (Google's official IME) on all native Firefox versions (store to Nightly):

0) Enable Korean keyboard.
1) Open Firefox.
2) Click URL bar.
3) Switch to hangul input (한글) - bottom left
4) Type "감사" which is formed by typing the following characters individually: ㄱ + ㅏ + ㅁ + ㅅ + ㅏ

Expected: "감사" is written in the URL bar
Actual: The keyboard switches to latin script input after the second "ㅏ" is pressed. The first character (감) remains while the second character is replaced by the latin script letter where "ㅏ" would be -> "k". The end result is "감k". Note that when the second "ㅏ" is pressed, the second character forms a commitable character (사), but it is not yet committed.

The change to latin script always seems to occur around the second character but the pattern is weird depending on how many letters are in the syllable blocks you form.

The bug only happens when the URL bar is just opened (can be closed and reopened to repo). Therefore, backspacing and replacing the text with more Korean text will keep the keyboard in hangul input mode.

Also, it does not happen every time but it happens a majority of the time. It does not seem to happen when Firefox is FIRST opened (wait a few seconds), but it will happen if you switch to it when it's already opened.

Tested on Galaxy Nexus, Android 4.0.4. I believe the bug also occurs on my Asus Transformer Prime TF201, Android 4.0.3, with the Google Korean IME, however, I do not have it with me.

If you need an explanation on hangul, the Korean input system, or want to see a repo, feel free to ask.
Summary: keyboard layout changes → Using bilingual IME in the URL bar can cause the keyboard layout to change involuntarily
Note the above does not happen in any other applications (including browsers) I've tested.
Note to all testers:

URL bar is a widget versus a text field or a password field.  They all might act different as they run into different parts of the code.  Here's a simplified page to help with your testings and looking at results:
http://people.mozilla.com/~nhirata/html_tp/formsninput.html
I cannot repo on the text fields or passwords fields – just the URL bar.
Priority: -- → P3
Assignee: cpeterson → nobody
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.