Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Are there known issues concerning double clicking in FF? We found bug 542068. Most of the issue we found have to do with Flash. Does it affect other applications (JSP/Javascript) too?

  • 10 பதிலளிப்புகள்
  • 3 இந்த பிரச்னைகள் உள்ளது
  • 163 views
  • Last reply by jscher2000 - Support Volunteer

Are there known issues concerning double clicking in FF? We found bug 542068. Most of the issue we found have to do with Flash. Does it affect other applications (JSP/Javascript) too?

Are there known issues concerning double clicking in FF? We found bug 542068. Most of the issue we found have to do with Flash. Does it affect other applications (JSP/Javascript) too?

All Replies (10)

Need more info to help:

Where are you trying to double-click: is it within a plugin (e.g., Flash, Java), or in regular HTML?

Can you provide a link to a page that demonstrates the problem (please explain what is expected and what to do to re-create the problem)?

Which versions of Firefox have you tested?

The problem we are reporting is from a JSP/Java/Javascript application.

When we searched for “Firefox 3.6 double click problem” the majority of the matches were for Flash applications. But if you look at several pages of matches you see that several applications show this problem. I do not know on what these other applications are based on. That's what we are trying to find out.

All we know is that our application worked when double clicking on IE and on several versions of Firefox. The problem shows up on most versions of Firefox 3.6.* which has known double click problems which made us suspicious that this might be a Firefox issue.

The problem shows up on most versions of Firefox 3.6.* which has known double click problems which made us suspicious that this might be a Firefox issue.

If you can replicate it in a clean environment, then it must be either a Firefox issue or your code. The closest you can get to a clean environment without building a new PC or VM is a new Firefox profile.

First, I recommend backing up your Firefox settings in case something goes wrong. See Backing up your information. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)

Next, fire up the Profile Manager, create a new blank profile, and test your application. See: Managing profiles.

Does that make any difference?

No that did not make a difference. Do you know if there are problems with Firefox 3.6 when you double click in a JSP/JAVA/Javascript application?

If there is a pattern of the application working up to Firefox 3.6.3 and not working starting with Firefox 3.6.4, there could be a problem with trying to communicate events between firefox.exe (which hosts pages) and plugin-container.exe (which hosts some plugins). You can tweak your settings to force plugins to run in firefox.exe to see whether this is the problem. This article has some background information on that:

http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins

---

Do you know if there are problems with Firefox 3.6 when you double click in a JSP/JAVA/Javascript application?

No, I don't know. Obviously I can't read every post here, but I haven't read about it before.

Is it a stupid question to ask: why does that matter?? To fix the application to work in Firefox 3.6 and above, we need to see a page that works on other browsers and fails in Firefox. It doesn't need to be the whole application, just enough to demonstrate the problem so that if we solve it, then you can apply that learning back to your application.

jscher2000 - Support Volunteer மூலமாக திருத்தப்பட்டது

I can add more about where we are seeing double clicks failing in Firefox 3.6. Note that this is in HTML code. This works in IE and most other versions of Firefox just not in 3.6.

The code we are seeing the double clicks causing problems:

<input type="image" id="myButton" class="myButtonStyle"
             src="http://ourserver/blahblah/button.gif" 
             alt="Blah ..."
             title="Blah ..."
             onmouseover="this.className='rollOverStyle'"
             onmouseout="this.className='normalStyle'"
             onclick="// sends an action to server that interacts with Excel"
             ondblclick="// handler absorbs the double click"            
             />

On Firefox 3.6 the double click handler does not work and the double click gets processed as 2 separate single clicks which messes up on the server when the second immediate action is sent to server. On the other browsers that work the action is only called once.

According to this old thread, it's normal for a double click to generate two click events before it generates a dblclick event. I haven't tested it myself.

Why firefox generates 2 clicks for a double click? - SitePoint Forums

Perhaps you need to disable the input in your main click event.

jscher2000 - Support Volunteer மூலமாக திருத்தப்பட்டது

According to our tests this code works on all of the Firefox versions (3.5.16, 4.0.1, 5.0) except 3.6. So it seems there is some inconsistency. This also works in IE. I think to put in special code for a certain browser to handle double clicks differently is less than desirable. This same problem was fixed for Flash applications (https://bugzilla.mozilla.org/show_bug.cgi?id=542068). Can this be fixed for non Flash applications too??!?

Changed the previous post to the following. According to our tests this code works on all of the Firefox versions (3.5.16, 4.0.1, 5.0) except 3.6. So it seems there is some inconsistency. This also works in IE. I think to put in special code for a certain browser and a certain version of the browser to handle double clicks differently is less than desirable. This same problem was fixed for Flash applications (https://bugzilla.mozilla.org/show_bug.cgi?id=542068). Can this be fixed for non Flash applications too??!?

When I use W3C event listeners, I get two individual clicks before the double-click. This is consistent between 3.6 and 5. Not sure why the inline handlers are not consistent.

http://jeffersonscher.com/forumshots/click-double-click.html

jscher2000 - Support Volunteer மூலமாக திருத்தப்பட்டது