Closed Bug 598612 Opened 16 years ago Closed 16 years ago

onkeydown triggered twice for the first char in the input field

Categories

(Firefox for Android Graveyard :: General, defect)

Other
Linux
defect
Not set
normal

Tracking

(fennec2.0+)

RESOLVED WORKSFORME
Tracking Status
fennec 2.0+ ---

People

(Reporter: p.chwiej, Assigned: azakai)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Opera/9.80 (Windows NT 5.1; U; pl) Presto/2.6.30 Version/10.62 Build Identifier: Mozilla/5.0 (X11; Linux armv7l; rv:2.0b7pre) Gecko/20100922 Namoroka/4.0b7pre Fennec/4.0b1pre Maemo5 fennec-qt nightly build Reproducible: Always Steps to Reproduce: 1. Open attached TC 2. Tap on the input field 3. Enter one char Actual Results: Two alert dialogs displayed. This happens only for the first char entered to the input field Expected Results: There should be only one dialog visible for each char
Attached file TC —
Flags: in-litmus?(nhirata.bugzilla)
Attached file testcase2 —
It only happens with the first testcase, so when an alert is invoked. I don't see it happening on Fennec window, btw.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
I've filed bug 599892 for the fact that focus isn't restored to the input after the alert dialog.
I'm seeing a chrome js error creeping up, when focusing the input: Error: JSON.parse Source file: chrome://browser/content/browser-ui.js Line nr 1780 I guess that corresponds to this: http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser-ui.js#1786 I noticed that on first load, the form helper appears when the input gets focused, but disappears as soon as the alert is displayed and won't reappear again after refocusing the input. Actually, the form helper seems to be completely busted after that. It won't reappear on any page after that. (the chrome js error, I see every time, though, when focusing form elements)
tracking-fennec: --- → ?
with a build from m-c changeset f56345a8fdd9 I don't get any alerts when typing into the text box. But I do get them for the backspace key.
Flags: in-litmus?(nhirata.bugzilla) → in-litmus+
why should this block fennec? is any page in the field effected by this?
See comment 5, but perhaps that is only happening for me?
alon, i think this is another symptom of alert() event ordering.
Assignee: nobody → azakai
tracking-fennec: ? → 2.0+
Cannot reproduce this in desktop gtk or desktop qt builds, on latest m-c/m-b.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: