Closed Bug 302031 Opened 19 years ago Closed 19 years ago

Context menu for a picture with hyperlink is misplaced on the screen

Categories

(Firefox :: Menus, defect)

1.0 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 302032

People

(Reporter: ageenko, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When you right click any image that has a hypelink, the context menu is often
appears beyond the screen. In most cases it render context menu use impossible,
which is a critical error for our process.

This situation is processed normally in the case of 

The possible reason is the vast of various items in the context menu, and error
in the algorithm of calculation the area for the context menu.

IMHO, in current implementation, the context menu is displayed so that its
either bottom left or top left corner is at the place of right click. However,
if the context menu has lot of items as you can see on hte screenshot, the menu
will be nearly oalways displayed offscreen. I wonder that nobody has noticed the
problem before.

Reproducible: Always

Steps to Reproduce:
1. Goto to any website, say www.yahoo.com
2. Right-click on any image that has a hyperlink (better if the image is closer
to the top of the page)
3. Observe how context menu is placed, see screenshot!

Actual Results:  
The context-menu will be placed so that bottom-left corner is at the point of
right-click. If the picture you right-click is at the top, then the context menu
is beyond the screen!


Expected Results:  
The context menu must be placed so that it is entirely visible 

Screenshots can be viewed at:

1) The correctly displayed context menu. The right-click place is at bottom
http://img303.imageshack.us/img303/9605/ok8fl.png

2) Incorrectly displayed context menu. The ricgh-click place is at the top
http://img303.imageshack.us/img303/8595/notok5js.png
Version: unspecified → 1.0 Branch

*** This bug has been marked as a duplicate of 302032 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.