Closed
Bug 62040
Opened 24 years ago
Closed 24 years ago
context window keeps pop up after onmousedown
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jhvr, Assigned: joki)
References
Details
Attachments
(1 file)
292 bytes,
text/html
|
Details |
Using Mozilla build 2000113020 on WinNT4 Sp6
And this example:
document.onmousedown = function MouseDownTrap(evnt) {
alert('evnt.which = '+evnt.which);
return false;
}
The event is trapped. So the the lines must be ok. And it also works in Netscape
4.76. But the context menu is still displayed, if you keep pressing the mouse
button! That's so wrong!
Ok, you may think, what's the point of trapping the mouse buttons?
Small question for you: Do you have a site for disabled people?
How in the world do the move a mouse device?
Get my point? I sure hope so.
Counting on you to confirm this typo! And come on people fix this!
Friendly, HJ
Comment 1•24 years ago
|
||
Worksforme linux build 2000-12-05-08. event gets trapped and there is no
context menu
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Confirm on mozilla trunk build 2000-12-04-04/win2k that the context menu is
displayed on right click with the alert inside the event handler and with it
removed.
I tested the attached page using IE 5.5 as well. Since IE has no evt.which, I
changed the alert to alert('hi'). With the alert in IE does not display the
context menu on right click, but with the alert removed IE displays the context
menu.
Status: UNCONFIRMED → NEW
Ever confirmed: true
For checks with with MS Internet Explorer this would do the trick:
document.onmousedown = function MouseDownTrap(evnt) {
alert('evnt.botton = '+evnt.button);
return false;
}
Comment 5•24 years ago
|
||
See also bug 40535, which would make the alert not pop up until after the
context menu goes away.
This one seems to be assigned to joki, hey joki, I don't know your name nut can
you please at least reply on this one! Tnx.
Keep pressing that mouse button, then you will see the menu context menu!
Comment 8•24 years ago
|
||
Reassigning QA Contact for all open and unverified bugs previously under Lorca's
care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
Assignee | ||
Comment 9•24 years ago
|
||
The reason that this doesn't work is that the context menu is now fired on the
mouseup, not the mousedown. This was a UI decision which was made that
supposedly makes the browser more in tune with UI guidelines. IE also
works this way, though I was unable to cancel their context menu. Anyway, since
the menu comes up based on the mouseup, canceling the mousedown event is
unrelated. Canceling the mouseup event does work. Yes this is a change from
4.x but it was done at the behest of the UI guys.
I'm going to mark this wontfix since the fact that this is a digression from 4.x
makes it valid but we're not planning on returning to the 4.x model for context
menu firing.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Updated•23 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•