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)
Tracking
()
NEW
People
(Reporter: deleeuw+bugzilla, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
519 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•20 years ago
|
||
The same goes for drop downs (HTML SELECT) and all other "buttons", like checkboxes, radiobuttons etc.
And it focuses an input box.
Comment 2•20 years ago
|
||
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
Reporter | ||
Comment 3•20 years ago
|
||
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
Updated•20 years ago
|
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
![]() |
||
Comment 4•19 years ago
|
||
Is this Windows-only? Or branch-only? I don't seem to see this with Linux trunk...
Comment 5•19 years ago
|
||
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.
![]() |
||
Comment 6•19 years ago
|
||
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
Comment 8•16 years ago
|
||
Updated•16 years ago
|
Component: Style System (CSS) → Event Handling
QA Contact: style-system → events
Comment 9•14 years ago
|
||
This is still the same in Firefox 7.0.1 (on Windows XP)
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•