Closed
Bug 721484
Opened 14 years ago
Closed 14 years ago
Contenteditable demo doesn't work with touch events enabled
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox11 fixed, firefox12 fixed, fennec11+)
RESOLVED
FIXED
Firefox 12
People
(Reporter: martijn.martijn, Assigned: wesj)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
1.63 KB,
text/html
|
Details | |
656 bytes,
patch
|
blassey
:
review+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
When tapping on the contenteditable div, the vkb should come up and you should be able to type something in there.
This works fine in current trunk build, but not with dom.w3c_touch_events.enabled set to true in about:config.
Then the demo suddenly doesn't work.
I've investigated this with this testcase, which sort of does what that demo does:
http://people.mozilla.org/~mwargers/tests/contenteditable/contenteditable_focus_designmode.htm
With touch events disabled I get:
mouseover on DIV
mousemove on DIV
mousedown on DIV
focus on contenteditable element, designMode turned on
mouseup on DIV
click on DIV
With touch events enabled, I get:
touchstart on DIV
mousedown on DIV
focus on contenteditable element, designMode turned on
mouseover on DIV
mousemove on DIV
touchend on DIV
mouseup on DIV
click on DIV
mousemove on DIV
mousedown on DIV
blur on contenteditable element, designMode turned off
mouseup on DIV
click on DIV
Assignee | ||
Comment 1•14 years ago
|
||
Hmm... looks like we're firing mouse events when we shouldn't. I would expect that to read more like:
touchstart on DIV
touchend on DIV
mousemove on DIV
mousedown on DIV
focus on contenteditable element, designMode turned on
mouseup on DIV
click on DIV
Updated•14 years ago
|
Assignee: nobody → mbrubeck
Priority: -- → P1
Assignee | ||
Comment 4•14 years ago
|
||
Adding tracking flag. If we want touch events in 11, we'll need this.
This is caused by my own stupidity in adding MOZ_ONLY_TOUCH_EVENT=1 in mobile/android/confvars.sh and assuming that it would be defined when we compiled widget/android/nsWindow.cpp. Simple solution is adding it to the widget/android/Makefile.in like we do with the compositor here:
http://mxr.mozilla.org/mozilla-central/source/widget/android/Makefile.in#54
Assignee | ||
Comment 5•14 years ago
|
||
Assignee: mbrubeck → wjohnston
Attachment #592886 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #592886 -
Flags: review? → review?(blassey.bugs)
Updated•14 years ago
|
Attachment #592886 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 6•14 years ago
|
||
Whiteboard: [inbound]
Assignee | ||
Updated•14 years ago
|
tracking-firefox11:
--- → ?
Updated•14 years ago
|
tracking-fennec: --- → 11+
tracking-firefox11:
? → ---
![]() |
||
Comment 7•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 8•14 years ago
|
||
Not quite fixed yet :) Last part pushed to inbound now.
https://hg.mozilla.org/integration/mozilla-inbound/rev/69ca6e6c57ea
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 9•14 years ago
|
||
Wes, request approval please
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 592886 [details] [diff] [review]
Patch
Regression caused by (bug #): 603008 multitouch
User impact if declined: Errors with multitouch events firing incorrectly
Testing completed (on m-c, etc.): landed on mc 1/2/2012
Risk to taking this patch (and alternatives if risky): Low risk. Should only affect builds with touch events enabled (i.e. mobile and b2g.
Attachment #592886 -
Flags: approval-mozilla-beta?
Attachment #592886 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 12•14 years ago
|
||
Comment on attachment 592886 [details] [diff] [review]
Patch
This is already on aurora
Attachment #592886 -
Flags: approval-mozilla-aurora?
Comment 13•14 years ago
|
||
This caused a regression in XUL fennec; there is a fix in bug 723746. Please wait until both are approved before landing them in beta.
Comment 14•14 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #8)
> Not quite fixed yet :) Last part pushed to inbound now.
>
> https://hg.mozilla.org/integration/mozilla-inbound/rev/69ca6e6c57ea
This followup did not make it to Aurora. (Also, it seems to have the wrong bug number in the commit message, and was not attached as a patch to this bug or to the one that it lists.)
Comment 15•14 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #13)
> This caused a regression in XUL fennec; there is a fix in bug 723746.
> Please wait until both are approved before landing them in beta.
Matt - Is this the right bug for your comment? Bug 723746 has the UA regression fix.
Comment 16•14 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #14)
> (In reply to Wesley Johnston (:wesj) from comment #8)
> > Not quite fixed yet :) Last part pushed to inbound now.
> >
> > https://hg.mozilla.org/integration/mozilla-inbound/rev/69ca6e6c57ea
>
> This followup did not make it to Aurora. (Also, it seems to have the wrong
> bug number in the commit message, and was not attached as a patch to this
> bug or to the one that it lists.)
Wes - I saw this patch on bug 721079. Is that the right bug? Or should it be landed with this bug?
Assignee | ||
Comment 17•14 years ago
|
||
Whoops. Yeah. I think just got really confused about what bug that patch went with.
The patch is on bug 721079 and it has landed on central and is nom'd for Aurora (It's also in the Aurora and beta patch queue). I added a comment there with the hg link.
Comment 18•14 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #15)
> (In reply to Matt Brubeck (:mbrubeck) from comment #13)
> > This caused a regression in XUL fennec; there is a fix in bug 723746.
> > Please wait until both are approved before landing them in beta.
>
> Matt - Is this the right bug for your comment? Bug 723746 has the UA
> regression fix.
Oops. This is the right bug, but I pasted the wrong regression. This patch triggered a different XUL fennec regression, bug 723480.
Updated•14 years ago
|
![]() |
||
Comment 19•14 years ago
|
||
Comment on attachment 592886 [details] [diff] [review]
Patch
[Triage Comment]
Mobile only - approved for Beta 11.
Attachment #592886 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 20•14 years ago
|
||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•