Closed Bug 266226 Opened 20 years ago Closed 20 years ago

context menu is always shown on the top left when activated from keyboard

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 81723

People

(Reporter: hiro, Assigned: aaronlev)

Details

(Keywords: access)

User-Agent:       hage
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041006

Context menu is always shown on the top left even if the focus is in textarea.

Reproducible: Always
Steps to Reproduce:
1. Load the page which has textarea
2. Focus to the textarea
3. Press Shift+F10

Actual Results:  
context menu is shown on the top left

Expected Results:  
context menu should be shown around the caret
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041025

confirming while context menu with roght mouse button appears at the right position.
The right-click wil open the context menu at the mouse-pinter position (not the
text-cursor !), but when you press Shift-F10 it can't do that (the mouse-pointer
might be out of the area where you're looking).

Note: Internet Explorer has the same 'bug'. And Windows Explorer too. And Adobe
Acrobat.

WONTFIX ? 
Shift-F10 is the key navigation, it is not concern with mouse, is it?

Epiphany does not have this bug, gedit does not too.
The problem is that shift-f10 synthesizes a mouse event and has to make up
coordinates for it.  So it makes up 0,0.

Perhaps it should in fact use the caret location for the numbers it makes up....
Do you see this bug on the trunk too? I don't see it at 0,0. 

That's probably because this is really a DUP of bug 81723.

Unfortunately I still see bug 175568 on the trunk, because the fix for bug
81723, didn't subtract out the scroll positions to get the correct screen
coordinates.
Assignee: nobody → aaronleventhal
Component: XP Toolkit/Widgets: Menus → Keyboard: Find as you Type
Keywords: access
Summary: context menu is always shown on the top left → context menu is always shown on the top left when activated from keyboard
Component: Keyboard: Find as you Type → Keyboard: Navigation
See bug 175568 for the fix where the context menu doesn't show up at all.

I don't see a need to fix this in 1.73 where we have lots of other accessibility
bugs.

*** This bug has been marked as a duplicate of 81723 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.