Closed
Bug 435160
Opened 17 years ago
Closed 9 years ago
Right-click oncontextmenu event does not fire if table onmousedown returns false.
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: rom_music, Unassigned)
Details
(Keywords: regression, testcase, Whiteboard: DUPEME?)
Attachments
(1 file)
194 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9) Gecko/2008051202 Firefox/3.0
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9) Gecko/2008051202 Firefox/3.0
The oncontextmenu event on a table row does not fire after a right-click if the enclosing table returns false for the onmousedown event. Ctrl-click works fine.
Right-click in this scenario also works fine in FF2 on Mac OSX and in FF2 & FF3 on XP SP2.
Reproducible: Always
Steps to Reproduce:
The code is simple:
<html>
<body>
<table onmousedown="return false;">
<tr oncontextmenu="alert('Context menu event fired.'); return false;">
<td>Right click me</td>
</tr>
</table>
</body>
</html>
Right-click on the text.
Actual Results:
No oncontextmenu event fired.
Expected Results:
oncontextmenu event fires.
If you change the table onmousedown event to return true, right-click works correctly. May be related to other Mac context menu issues like
bug #422021.
Comment 1•17 years ago
|
||
This reminds me of bug 418689 comment 4.
Comment 2•16 years ago
|
||
Hi I've encountered the same issue although its with iframes instead of tables.
See http://unbolt.net/dev/contextmenutest.html
Right-click in the iframe on my test page works fine in FF2 on Mac OSX, FF2 & FF3
on XP, Safari 3.x, IE6 and IE7.
It doesnt work in FF3 on OSX specifically tested on 3.0.8
Comment 3•16 years ago
|
||
Would someone have time to check for the regression range? As given by comment 0 it has been regressed in the development cycle for Firefox 3.0. So checking offical alpha and beta builds would be the first step. Further checking nightlies could give us the bug which regressed this one.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
Hardware: PowerPC → All
Version: unspecified → 3.0 Branch
Comment 4•16 years ago
|
||
Nothing to do with it being a table though.
Component: Menus → Widget: Cocoa
Product: Firefox → Core
QA Contact: menus → cocoa
Summary: Right-click oncontextmenu event on table row does not fire if table onmousedown returns false. → Right-click oncontextmenu event does not fire if table onmousedown returns false.
Version: 3.0 Branch → unspecified
Comment 5•16 years ago
|
||
I forgot to add as well that in FF3, holding ctrl and left clicking works fine.
This issue has been around since 3.0.5 although I havent checked versions older than that
Comment 6•16 years ago
|
||
Same regression range as bug 426643. Probably the switch to Cocoa widgets.
Steven, shall we dupe or adding a dependency?
Keywords: regressionwindow-wanted → testcase
Version: unspecified → 1.9.0 Branch
Comment 7•16 years ago
|
||
Updated•16 years ago
|
Whiteboard: DUPEME?
Comment 8•9 years ago
|
||
I can not reproduce this issue as "context menu even fired" appears on firefox 48.0a1 for the attached test case. I will close this issue as WFM. Please reopen if you can still reproduce this issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•