Closed
Bug 575586
Opened 13 years ago
Closed 13 years ago
[LongTap]Fennec does not pass long tap event to plug-ins
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec-)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | - | --- |
People
(Reporter: ilkka.otsala, Assigned: romaxa)
References
()
Details
(Whiteboard: [flash])
Attachments
(3 files, 3 obsolete files)
2.63 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
1.28 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
3.88 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010040119 Ubuntu/8.04 (hardy) Firefox/3.0.19 Build Identifier: Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.3a5pre) Gecko/20100622 Firefox/ Fennec/2.0a1pre If a long tap gesture is done on top of e.g. flash content, a right click event should be passed to plug-in for context sensitive menu purposes. Reproducible: Always Steps to Reproduce: 1. Load page that contains flash e.g. youtube.com 2. make long tap gesture on top of flash content Actual Results: Nothing happens. Expected Results: Flash context sensitive menu should be popped up.
I suppose it would be useful for context sensitive add-ons too: They could alter the context menu depending on context.
Updated•13 years ago
|
Whiteboard: [flash]
Updated•13 years ago
|
Assignee: nobody → jap
Comment 2•13 years ago
|
||
Attachment #468015 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
tracking-fennec: --- → ?
Comment 3•13 years ago
|
||
Waiting until we have plugins working in Fennec again before reviewing this patch.
![]() |
||
Updated•13 years ago
|
Summary: Fennec does not pass long tap event to plug-ins → [LongTap]Fennec does not pass long tap event to plug-ins
Comment 4•13 years ago
|
||
not blocking fennec, but we'll take a patch if and when plugins work and it can be tested.
tracking-fennec: ? → 2.0-
Comment 5•13 years ago
|
||
This is an update to the previous patch. It should work with the Fennec's updated CSM handling code. However, I believe that csm for embedded elements, like flash, will still be broken when the embedded element is located at a position which needs panning. I think that fix for the bug 607881 (or similar) could resolve the issue.
Attachment #486888 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 6•13 years ago
|
||
Plugins are testable... Install youtube enabler extension or just enable it with prefs
Attachment #468015 -
Attachment is obsolete: true
Attachment #486888 -
Attachment is obsolete: true
Attachment #503796 -
Flags: review?(mark.finkle)
Attachment #468015 -
Flags: review?(mark.finkle)
Attachment #486888 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 7•13 years ago
|
||
Don't know is it blocking or depends from bug 625673
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #503796 -
Attachment is obsolete: true
Attachment #503852 -
Flags: review?(mark.finkle)
Attachment #503796 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #503854 -
Flags: review?
Assignee | ||
Updated•13 years ago
|
Attachment #503854 -
Flags: review? → review?(mark.finkle)
Assignee | ||
Updated•13 years ago
|
Attachment #503852 -
Flags: review?(mark.finkle) → review?(mbrubeck)
Assignee | ||
Updated•13 years ago
|
Attachment #503854 -
Flags: review?(mark.finkle) → review?(mbrubeck)
Comment 10•13 years ago
|
||
Comment on attachment 503852 [details] [diff] [review] maemo only now, and use sendMouseEvent >+++ b/chrome/content/content.js >+ let popupNode = element; Why create a new variable? Looks like you should just use "element". >+ let embeddedNode = >+ popupNode.nodeType == Ci.nsIDOMNode.ELEMENT_NODE && >+ popupNode instanceof Ci.nsIDOMHTMLEmbedElement; >+ if (embeddedNode) { Do you need both checks here, or could you just do "if (element instanceOf Ci.nsIDOMHTMLEmbedElement)"? >+ if (!aButton) { >+ aButton = 0; >+ } Nit: Please remove the {}, and move this block to the very top of the function. r=mbrubeck with those changes.
Attachment #503852 -
Flags: review?(mbrubeck) → review+
Updated•13 years ago
|
Attachment #503854 -
Flags: review?(mbrubeck) → review+
Comment 11•13 years ago
|
||
Comment on attachment 503852 [details] [diff] [review] maemo only now, and use sendMouseEvent >diff --git a/chrome/content/content.js b/chrome/content/content.js >+ if (!aButton) { >+ aButton = 0; >+ } Change to: aButton = aButton || 0;
Assignee | ||
Comment 12•13 years ago
|
||
Assignee | ||
Comment 13•13 years ago
|
||
http://hg.mozilla.org/mobile-browser/rev/eee69f727a24
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Assignee: jap → romaxa
You need to log in
before you can comment on or make changes to this bug.
Description
•