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)
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
| Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Flags: in-litmus?(nhirata.bugzilla)
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
It only happens with the first testcase, so when an alert is invoked.
I don't see it happening on Fennec window, btw.
Comment 4•16 years ago
|
||
I've filed bug 599892 for the fact that focus isn't restored to the input after the alert dialog.
Comment 5•16 years ago
|
||
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: --- → ?
Comment 6•16 years ago
|
||
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.
litmus test case created :
https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=13551
Flags: in-litmus?(nhirata.bugzilla) → in-litmus+
Comment 8•16 years ago
|
||
why should this block fennec? is any page in the field effected by this?
Comment 10•16 years ago
|
||
alon, i think this is another symptom of alert() event ordering.
Assignee: nobody → azakai
tracking-fennec: ? → 2.0+
| Assignee | ||
Comment 11•16 years ago
|
||
Cannot reproduce this in desktop gtk or desktop qt builds, on latest m-c/m-b.
Updated•16 years ago
|
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.
Description
•