Closed
Bug 614289
Opened 15 years ago
Closed 15 years ago
Regression: Awesomebar suggestions do not update while typing [HWKB]
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec2.0b3+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 2.0b3+ | --- |
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
(Keywords: regression, Whiteboard: [hkb])
Attachments
(1 file, 1 obsolete file)
|
1.43 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
1. Open the hardware keyboard.
2. Tap in the awesomebar and start typing.
Expected results: Awesomescreen results update as you type.
Actual results: Awesomescreen results update only for the first character typed, or whenever you press backspace.
Tested on local trunk Android build.
| Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Updated•15 years ago
|
tracking-fennec: ? → 2.0b3+
Updated•15 years ago
|
Assignee: nobody → mbrubeck
Updated•15 years ago
|
Whiteboard: [hkb]
| Assignee | ||
Comment 1•15 years ago
|
||
The "keydown" events are not sent to Gecko, because mKeyListener.onKeyDown returns "true" in GeckoApp::onKeyDown.
Comment 2•15 years ago
|
||
(In reply to comment #1)
> The "keydown" events are not sent to Gecko, because mKeyListener.onKeyDown
> returns "true" in GeckoApp::onKeyDown.
Of course, keydown events aren't the only thing that can trigger awesomebar updating. After all, almost no key events are sent when typing with many soft keyboards. The difference is that the text events during softkb composition are sent during composition, while the text events sent through the hardkb listener are sent without composition. Wonder if that makes the difference. Maybe jchen knows.
| Assignee | ||
Comment 3•15 years ago
|
||
mwu suggested starting and stopping coposition to force an update. Here's an implementation of that suggestion. It fixes this bug, but I'm not sure if it's the correct way to do it.
| Assignee | ||
Comment 4•15 years ago
|
||
Here's a better patch, with much help from jchen. Makes sure that the text event happens between composition begin/end events.
Attachment #493035 -
Attachment is obsolete: true
Attachment #493051 -
Flags: review?(blassey.bugs)
Updated•15 years ago
|
Attachment #493051 -
Flags: review?(blassey.bugs) → review+
| Assignee | ||
Comment 5•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
verified FIXED on build:
Mozilla/5.0 (Maemo; Linux armv71; rv:2.0b8pre) Gecko/20101129 Namoroka/4.0b8pre Fennec/4.0b3pre
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•