Closed Bug 14476 Opened 26 years ago Closed 25 years ago

Context menus pop up in wrong location

Categories

(Core :: XUL, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: law, Assigned: saari)

References

Details

Right mouse clicking in the content area causes the context menu to appear in the wrong location. It appears to be off by the offset of the content area from the upper-left corner of the overall window. It is easier to see than to explain; try it (I just checked in the change to navigator.xul to get the context menu wired to the content area).
Assignee: trudelle → saari
Target Milestone: M12
reassigning to saari as p3 for m12
Blocks: 15157
QA Contact: beppe → cpratt
OS: Windows NT → All
Verified on MacOS 1999-10-18 build (so OSes changed to `All'). For example, the standard page context menu begins: Back, Forward, Reload, Stop ... With navigation toolbar and personal toolbar visible, a context menu appears with `Stop' under the mouse pointer. With the toolbars collapsed, the context menu appears further down -- with `Back' under the mouse pointer. Correct behaviour would be for the top-left corner of the *first item* in the context menu to appear about 1~2 pixels south-east of the mouse pointer -- so if I accidentally click the right mouse button, I don't inadvertently select a context menu item.
mass-moving all m12 bugs to m13
QA Contact: cpratt → elig
[Contextual menu bug --- QA Assigning to self.]
No, that's the code that manages the context menu content. The menu itself is displayed by underlying XUL stuff (mozilla/layout/xul/base/src/*.cpp) or even lower-level layout or widget code).
Status: NEW → ASSIGNED
pavlov and myself are working on menupositioning in nsMenuPopupFrame.cpp right now.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
this appears fixed in the 12/01/99 build. I'm marking fixed, anyone object?
Status: RESOLVED → VERIFIED
I'm unable to reproduce this using ordinary pages on this morning's Win32/Mac OS builds. Since the bug report lacks specific steps to reproduce, and Pavlov thinks its fixed (and can't reproduce on Linux), I'm rubber-stamping it as Verified-Fixed. If anyone is still seeing this, please re-open with your comments.
You need to log in before you can comment on or make changes to this bug.