Closed
Bug 426074
Opened 16 years ago
Closed 15 years ago
Right-click on HTML buttons should not display depressed state
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 313459
People
(Reporter: adelfino, Unassigned)
References
Details
Attachments
(1 file)
265 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008033007 Minefield/3.0pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008033007 Minefield/3.0pre Right clicking on a Web page buttons should be ignored; since that happens when you right click any "real" button, at least, in Windows (like Close in title bar). Often, buttons have a "What is this?" menu, but that does not relate to a Web page. Now, a pressed state is shown. Reproducible: Always
Reporter | ||
Updated•16 years ago
|
Version: unspecified → Trunk
Reporter | ||
Updated•16 years ago
|
Severity: normal → enhancement
Updated•16 years ago
|
Component: Menus → DOM: HTML
Product: Firefox → Core
QA Contact: menus → general
Updated•16 years ago
|
Summary: Ignore right click on Web page buttons → Ignore right click on Web page buttons (form input controls)
Comment 1•16 years ago
|
||
Can you please clarify what you mean by "web page buttons"? Are you referring to <a href="http://www.blah.com"><img src="foo.gif"></a>? Why do you think web content should be treated as platform-native content?
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1) > Can you please clarify what you mean by "web page buttons"? Are you referring > to <a href="http://www.blah.com"><img src="foo.gif"></a>? Why do you think web > content should be treated as platform-native content? > <input type="button">, <button>.
Comment 3•16 years ago
|
||
Where on here do you see context-menu items for Submit or radio buttons, on right-click? http://www.w3schools.com/html/html_forms.asp
Comment 4•16 years ago
|
||
He doesn't. His point was that since there are no context menus, there is no reason to respond to rightclick. That being said, I at least agree that the current action is quite odd. If I right click a button, it becomes focused. This is fine. But if I then mouseover the focused button, it paints pressed even though it is not being pressed
Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #4) > He doesn't. His point was that since there are no context menus, there is no > reason to respond to rightclick. Right.
Comment 7•16 years ago
|
||
I still think the behavior is really annoying from a web developer view. I use the context menu -> inspect element from firebug all day, especially when a form is miss behaving. This small patch adds a user pref (contextmenu.allforms.enabled) to turn this behavior off (back on). I would like to also not, I do not believe just because Windows does something, it should be a valid basis for firefox development. my 2cents.
I think the title of this bug confuses many people, especially within the discussions about context menus (in other bugs, such as bug 433168 for example). I think the title of this bug should be changed to something like: Right-click on HTML buttons should not display depressed state
Comment 9•16 years ago
|
||
(In reply to comment #8) > I think the title of this bug confuses many people, especially within the > discussions about context menus (in other bugs, such as bug 433168 for > example). I think the title of this bug should be changed to something like: > > Right-click on HTML buttons should not display depressed state Perfect suggestion, thanks!
Summary: Ignore right click on Web page buttons (form input controls) → Right-click on HTML buttons should not display depressed state
Updated•16 years ago
|
Attachment #315850 -
Attachment is patch: true
Attachment #315850 -
Attachment mime type: application/octet-stream → text/plain
Comment 10•16 years ago
|
||
Confirming. With the context menu gone, right click should be a no-op, IMHO. Regardless, the active state shouldn't persist after the mouseup.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•15 years ago
|
Severity: enhancement → trivial
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•