Closed Bug 60889 Opened 24 years ago Closed 23 years ago

handler doesn't get called if context-menu is active onClick

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

x86
All
defect

Tracking

()

RESOLVED INVALID
mozilla0.9.9

People

(Reporter: sdweber, Assigned: joki)

References

()

Details

(Keywords: dom1)

The page listed at the URL above uses DOM L1 to pop up a DIV when the right moust button is clicked and uses preventBubble (in the right box) to keep the context menu from appearing onMouseUp. If you right-click anywhere in the page to bring up the context menu and then (with the context menu still visible) right-click in the right-hand box (to try and bring up the DIV) it will not appear and upon releasing the mouse button, the context menu will relocate to the current mouse position. The handler apparently does not get called if the context menu is active when the mousedown event occurs.
linux trunk 2000-11-19-21. When I right-click elsewhere on the page, I get a context menu. When I then right-click on the yellow "button", the context menu goes away and the div's menu does _not_ pop up. I believe this is the correct behavior.... Reporter, what build are you using? Has this problem been fixed in recent builds, or is it windows-specific?
confirmed with 112104 mozilla build on NT.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I was using M18 under Win2k. I just tried under Linux and I see that it does act differently. Now that I think about it some more, it probably is more desireable to have the next click while the context menu is active simply destroy the context menu and not activate any links or other handlers. Under Windows, I think it would be nice for the context menu to act as it does under Linux, dissappearing rather than relocating on a new click, but alas, this may be a "feature" of the windows operating system that cannot be gotten around.
Reassigning to the owner of the event code.
Assignee: jst → joki
Keywords: dom1
Component: DOM Level 1 → DOM Events
Reassigning to UE. What is the correct behavior? Is there a UI fix? Please return this to joki once we understand what to do, and if his help is needed to implement in the event code.
Assignee: joki → mpt
Component: DOM Events → User Interface: Design Feedback
QA Contact: janc → zach
See also bug 72084, "There is no way to disable the context menu upon right- click".
-> Event Handling. Gerv
Component: User Interface Design → Event Handling
OS: Windows 2000 → All
Reassigning. Gerv
Assignee: mpt → joki
QA Contact: zach → madhur
Target Milestone: --- → mozilla0.9.7
Moving bugs from 0.9.7 for triaging in 0.9.8
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Marking invalid. Context menu and right click behavior have been settled in 72084 and work differently than they used to in this test case.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.