Open Bug 313459 Opened 20 years ago Updated 3 years ago

Right-clicking puts elements in :active state (buttons look pressed, etc)

Categories

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

1.8 Branch
x86
Windows XP
defect

Tracking

()

People

(Reporter: deleeuw+bugzilla, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 When I right click any button it looks like it does when I "left click" it, with the exception that the page is not submitted. MSIE does not do the same thing. Reproducible: Always Steps to Reproduce: 1. right click a button in a form Actual Results: The button is in its pressed state. Expected Results: The button should look like it normally does, ie before clicking it.
The same goes for drop downs (HTML SELECT) and all other "buttons", like checkboxes, radiobuttons etc. And it focuses an input box.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051022 Firefox/1.5 ID:2005102223 If you mean that rightclicking on a button changes the focusline from yellow to blue and shows a dotted rectangle on the button, yes I see this too. Tried on the Reply button here: http://forums.mozillazine.org/viewtopic.php?p=1827047#1827047
I am using FF1.5b2, and yes I see what you see, but I also see every form control behaving like if it is left clicked while you are still hovering over it and the right click menu is seen.
Summary: Right clicking a button (any button) on a web page puts it in the pressed state → Right clicking a control (any control) on a web page makes it look like it does when left clicked
Assignee: nobody → dbaron
Status: UNCONFIRMED → NEW
Component: General → Style System (CSS)
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → ian
Summary: Right clicking a control (any control) on a web page makes it look like it does when left clicked → Right-clicking puts elements in :active state (buttons look pressed, etc)
Version: unspecified → 1.8 Branch
Is this Windows-only? Or branch-only? I don't seem to see this with Linux trunk...
Yeah, I guess this is windows only. Mozilla is doing this like forever (at least also on the Mozilla1.7.12). I'm so used to it, I don't even consider it a bug.
So... how is this happening? The place where we set NS_EVENT_STATE_ACTIVE is http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/events/src/nsEventStateManager.cpp&rev=1.665&mark=2160-2162,2176#2155 How is that failing?
Assignee: dbaron → nobody
QA Contact: ian → style-system
Attached file testcase
Keywords: testcase
Component: Style System (CSS) → Event Handling
QA Contact: style-system → events
This is still the same in Firefox 7.0.1 (on Windows XP)
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: