Closed Bug 64849 Opened 24 years ago Closed 23 years ago

right-click which cancels a context menu doesn't focus link

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME
mozilla1.0

People

(Reporter: jruderman, Assigned: saari)

References

Details

1. Open http://www.mozilla.org/
2. Right-click on a link.
3. With the context menu still up, right-click on another link.

The second link should be focused.  Note that "open link in new window" 
correctly opens the second link.
Yep, I'm seeing this as well, using a brand new build.  I don't think this is a
new problem, though.
Whaddya know?  A side-effect of my suggested fix to bug 30841 is that it fixes
this bug as well.  Marking this bug dependent on that one.

There appear, however, to be some underlying problems with right-clicking
focusing links.  For example, if I right-click on a link in the footer on the
Bugzilla query page, it never receives the focus rectangle.
Depends on: 30841
Fix for 30841 doesn't fix this for me...?
Really?  Odd.  I did the following with the "else if" and I got the symptoms 
described in the bug, and then with the "if" and it worked as expected.

1. Open www.mozilla.org.
2. Right-click on "Get Involved"
3. Right-click on "Feedback" right above that.

The "Feedback" link gets the focus rect.

Note that not all links seem to be focussing on a click, like the "more..." 
links, and the "The Mozilla Organization", "Developer Docs", "Testing", "Tools", 
"FAQ", and "Search" links.  But these never focus on a right-click, so that's a 
different bug.
Nope, doesn't work for me...
This isn't a recent regression.  Hixie mentioned it in September in bug 52311, 
and I found that bug while searching for this one.  (Bug 52311 might also be 
related to why right-clicking bold or italic links on www.mozilla.org never 
focuses them.)
cc: pink and saari

Any chance either of you could try this sometime and report what you get?
Just re-pulled everything and built from scratch.  Confirmed that the bug 
existed as reported.  Made the change I suggest in 30841.  Works as expected.

Win2000 sp1
This isn't specific to links, by the way.  The same should happen for any 
object that takes focus when right-clicked.
Yeah, there's another bug somewhere about some things not getting focus when 
you right-click them.  But my fix to bug 30841 makes sure that anything that 
takes focus on a single right-click works under the conditions described in 
this bug.
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
qa contact updated.
QA Contact: gerardok → bsharma
changing the component to 'Layout'.
Assignee: clayton → karnaze
Component: HTML Element → Layout
QA Contact: bsharma → petersen
Target Milestone: --- → mozilla0.8.1
Reassigning to Saari. This looks like a focus issue, so I'm not sure why it was 
reassigned to layout.
Assignee: karnaze → saari
Late to the game, I just saw this... so no 8.1

Plus, right clicking for focus is really low on the priority totem pole. Moving
to 1.0
Status: NEW → ASSIGNED
Target Milestone: mozilla0.8.1 → mozilla1.0
I think I'm really close in 30841, I just haven't had time to go back in and
hammer out the regression it causes.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
This is working for me in 2001061804 on Win32.

1. Open www.mozilla.org
2. Right-click "At A Glance" (under "The Mozilla Organization")
3. Right-click "Feedback".

Expected and Actual Results: "Feedback" link is focused

Marking WFM.

Note: There are other bugs for right-clicking not focusing links such as "The 
Mozilla Organization" and the various "more..." links.
You need to log in before you can comment on or make changes to this bug.