The keyboard is brought up without the focus being set in a text field at



Firefox for Android Graveyard
6 years ago
6 years ago


(Reporter: Camelia Urian, Unassigned)





(1 attachment)



6 years ago
Created attachment 603687 [details]

Mozilla/5.0 (Android; Tablet; rv:11.0) Gecko/11.0 Firefox/11.0 Fennec/11.0 - Acer Iconia Tab A500 (Android 3.2)
Mozilla/5.0 (Android; Mobile; rv:11.0) Gecko/11.0 Firefox/11.0 Fennec/11.0 - Samsung Nexus S (Android 2.3.6)

Steps to reproduce:
1. Open Fennec.
2. Go to
3. Enter a location (e.g. Los Angeles) and tap the "Go" button
4. On the bing map tap on a different location marker to bring up information about another location.

Expected results:
An info pop-up is displayed for the location. Since there is no text field focused the keyboard is not opened.

Actual results:
The keyboard is opened over the map without the focus being set in any text field. Typing any character using the keyboard does not have any effect.

 -- The Android browser redirects to the mobile page but the issue is not reproducible on the Opera Mini Browser.

Comment 1

6 years ago
This issue is also reproducible on Fennec Native:
Nightly 13.0a1 (2012-03-07)
Device: Samsung Nexus S - Android 2.3.6
status-firefox11: --- → affected
status-firefox13: --- → affected
I see a method in the script at which the Bing Map is using when you tap a branch location that does 'keyboard.focus()' on a MouseUp event

function MouseUp(a) {
        a = GetEvent(a);
        if (a) isLastButtonMiddle = IsMiddleMouseButton(a);
        if (currentMode != threeDMode && FireCustomEvent("onmouseup", a)) return false;
        dragging = false;
        if (!hijackMouseMove && !hijackMouseCursor) p_this.SetCursor(cssCursors.Grab);
        var b;
        if (currentTool) b = currentTool.OnMouseUp(a);
        if (targetTool && targetTool.isOutOfBounds()) targetTool.OnMouseUp(a);
        var c = true;
        if (typeof b != "undefined" && b.view != null) {
            isEnablingDefaultDblClick = b.view.disableDbClick != true;
            c = b.view.disableMapFocus != true
        } else isEnablingDefaultDblClick = true;
        currentTool = panTool;
        try {
            if (c) keyboard.focus()
        } catch (d) {}
        return false

I'm not entirely sure if that is related, but it's interesting.
You need to log in before you can comment on or make changes to this bug.