Closed
Bug 1283582
Opened 8 years ago
Closed 8 years ago
Fennec displays a context menu on long-press, even if the 'contextmenu' is cancelled by web content
Categories
(Firefox for Android Graveyard :: Toolbar, defect, P2)
Tracking
(firefox47 wontfix, firefox48 verified, firefox49 verified, firefox50 verified)
RESOLVED
FIXED
Firefox 50
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: correctness)
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Margaret
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details |
This appears to be a long-standing issue in Fennec, I can repro in current release (47) through to Nightly (50). STR: 1) Load http://people.mozilla.org/~kgupta/touch.html 2) Tap on the "contextmenu" checkbox. This will cause the page to call preventDefault() on contextmenu events 3) Long-press on the "Link to nowhere" ER: No browser context menu is shown AR: Browser shows a context menu
Assignee | ||
Updated•8 years ago
|
status-firefox47:
--- → wontfix
status-firefox48:
--- → fix-optional
status-firefox49:
--- → fix-optional
status-firefox50:
--- → affected
Priority: -- → P2
Version: unspecified → Trunk
Assignee | ||
Updated•8 years ago
|
Keywords: correctness
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/61604/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/61604/
Attachment #8766884 -
Flags: review?(margaret.leibovic)
Comment 2•8 years ago
|
||
Comment on attachment 8766884 [details] Bug 1283582 - Stop displaying the context menu in Fennec if web content did a preventDefault on the event. https://reviewboard.mozilla.org/r/61604/#review59086 Sounds reasonable to me.
Attachment #8766884 -
Flags: review?(margaret.leibovic) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f0c70bfa8917 Stop displaying the context menu in Fennec if web content did a preventDefault on the event. r=margaret
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f0c70bfa8917
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Comment 5•8 years ago
|
||
Verified using: Device: Samsung Galaxy S6 Edge (Android 5.1.1) Build: Firefox for Android Nigtly - 50.0a1(2016-07-06)
Updated•8 years ago
|
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8766884 [details] Bug 1283582 - Stop displaying the context menu in Fennec if web content did a preventDefault on the event. Approval Request Comment [Feature/regressing bug #]: Long-standing bug [User impact if declined]: Pages that prevent the browser from showing a context menu (often because they have their own context menu) will be unable to. The user might end up with both the page's context menu and the browser's context menu which can be annoying. Shouldn't be a huge issue though, as the browser's context menu can be easily dismissed and then the user should be able to access the page's context menu. [Describe test coverage new/current, TreeHerder]: none [Risks and why]: Fairly low risk, this change brings Fennec behaviour in line with what desktop and other browsers do. [String/UUID change made/needed]: none
Attachment #8766884 -
Flags: approval-mozilla-beta?
Attachment #8766884 -
Flags: approval-mozilla-aurora?
Comment 7•8 years ago
|
||
Comment on attachment 8766884 [details] Bug 1283582 - Stop displaying the context menu in Fennec if web content did a preventDefault on the event. This patch fixes a UI behavior. Take it in 48 beta 7 and aurora.
Attachment #8766884 -
Flags: approval-mozilla-beta?
Attachment #8766884 -
Flags: approval-mozilla-beta+
Attachment #8766884 -
Flags: approval-mozilla-aurora?
Attachment #8766884 -
Flags: approval-mozilla-aurora+
Comment 8•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/a5b1d40aa344
Comment 9•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/24787f5d46cf
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Comment 10•8 years ago
|
||
Verified as fixed on latest Beta 48.0b9 and Aurora 49.0a2 (2016-07-18) but if page is reloaded, the bug can be reproduced.
Updated•3 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
•