Closed
Bug 1025520
Opened 11 years ago
Closed 11 years ago
Move touch event handling away from keyboard.js
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(feature-b2g:2.1)
People
(Reporter: timdream, Assigned: timdream)
References
Details
(Whiteboard: [p=5])
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1023729 +++
The on* functions (the touch/mouse event listeners) currently lives in keyboard.js as global functions. They should be collected to another module and cover with tests.
After this bug we should be deliver proper fix to bug 1013570 by implementing a queue to handle these events there. See bug 1015541 comment 2 for discussion.
I however not really sure we could do that in this one bug or split that to another dependent bug. A separate patch is probably better in terms of keeping the tree safe (making sure regression is identifiable between builds by QA, for example.)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → timdream
Status: NEW → ASSIGNED
Whiteboard: [p=3]
Target Milestone: --- → 2.0 S4 (20june)
Assignee | ||
Comment 3•11 years ago
|
||
Gu is broken ...
https://tbpl.mozilla.org/?tree=Gaia-Try&rev=d3c810e56cc8e7417a253df54191c14afde82e2b
Whiteboard: [p=3] → [p=5]
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8442592 [details] [review]
mozilla-b2g:master PR#20724
We should start the review process first.
Attachment #8442592 -
Flags: review?(rlu)
Assignee | ||
Comment 5•11 years ago
|
||
So Gu actually found a logic error; here is the test run of updated patch
https://tbpl.mozilla.org/?tree=Gaia-Try&rev=789899901972400b554e364d684dd8dd4311ebb2
Assignee | ||
Comment 6•11 years ago
|
||
BTW, it wasn't caught by manual test because the touch identifiers sent by the test are incremental, while on the actual device it is literally the nth finger on the screen.
Updated•11 years ago
|
Target Milestone: 2.0 S4 (20june) → 2.0 S5 (4july)
Comment 7•11 years ago
|
||
Comment on attachment 8442592 [details] [review]
mozilla-b2g:master PR#20724
Sorry for the delay, I have just started to look at this patch.
Comment 8•11 years ago
|
||
Comment on attachment 8442592 [details] [review]
mozilla-b2g:master PR#20724
r=me with some comments/nits addressed.
Thank you.
Attachment #8442592 -
Flags: review?(rlu) → review+
Assignee | ||
Comment 9•11 years ago
|
||
I will land this bug tomorrow when bug 1023730 finally sits safely in master.
Assignee | ||
Comment 11•11 years ago
|
||
https://tbpl.mozilla.org/?rev=2b01ddf6f0ed4021a02f52e03f00c14d9ccc6d55&tree=Gaia-Try
master: https://github.com/mozilla-b2g/gaia/commit/c8601e4313c47c8fd14cb0afbfa3f71cb12bffcb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
feature-b2g: --- → 2.1
You need to log in
before you can comment on or make changes to this bug.
Description
•