Context menu works wrong on button input element




9 years ago
7 years ago


(Reporter: Andrey K, Unassigned)


Windows XP

Firefox Tracking Flags

(Not tracked)




9 years ago
User-Agent:       Opera/9.27 (Windows NT 5.1; U; ru)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1b4) Gecko/20090423 Firefox/3.1

When right click on a button to launch context menu (and for example inspect it with Firebug), context menu not appears. And button saves pressed state between mouseOut and mouseOver events.

Reproducible: Always

Steps to Reproduce:
1. Create an button input element.
2. Right click on it. See no context menu. Do not produce more clicks.
3. Move mouse out from button. Move mouse over button. See button "self-press".
4. Try to make some clicks on panels and repeat step 3.
Actual Results:  
Button keeps pressed state and not context menu appears.
It makes impossible to inspect button actions with Firebug. This result is actual in FF 3.0.10 also with proper version of firebug (without editing install.rdf).

Expected Results:  
Context menu appears, button lost pressed state on mouseOut event.

It seems related with bug 470459.

Comment 1

8 years ago
I believe I can confirm this, on multiple versions of Firefox and Windows.  I was teaching a class on Selenium for a bunch of QA geeks and about half of them encountered this bug.  They could right-click on links and see the context menu, but right-clicking on a button simply darkened the button.  Mousing away from the button left the button darkened (which is slightly different behavior than that reported by the original poster).

So, right-clicking on this worked: <a title='Sort by Op State'>Op State</a>

but right-clicking on this did not produce a context menu: <input type="button" onclick="listFilterOpen();" class="slim" value="filters" />

The people who had the problem were running Firefox 3.0.9, 3.0.18, 3.5.9, and 3.6.3, some on WinXP and some on Vista.

After comparing this bug to #433168 I had a couple of them install the Firebug addin (v1.5.4); this fixed the problem.  However, that doesn't quite make sense in the context of the original author of this bug, because he was right-clicking so that he could _use_ Firebug.

So, steps to reproduce this bug should include:
 - Do a clean install of Firefox, with no add-ons
 - Right-click on a button input element
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.

You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version,
Whiteboard: [CLOSEME 2011-1-30]

Comment 3

7 years ago
Bug still live in Firefox 3.6.13 and 4.0b8 (both in safe mode).


7 years ago
Whiteboard: [CLOSEME 2011-1-30]
Version: unspecified → Trunk

Comment 4

7 years ago
Reporter -> Are you still experiencing this issue with the latest version of Firefox 5? Does the issue occur with the latest nightly?

Can you provide a public URL or test case the shows the issue?

Comment 5

7 years ago
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site ->
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.