Closed Bug 442572 Opened 11 years ago Closed 9 years ago

FF3 Not registering Cursor/mouse clicks

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: adimattia, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-1-30])

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

When opening a new browser window, the cursor will only work if I first click outside of Firefox and then come back to the FF browser window. Then it will usually register one mouse click, sometimes 2 — and then no response, and I have to click outside on another window again to make it work in FF once more. 

This is true for content within webpages (hyperlinks, etc.) as well as the menu bar, address bar, tabs, and scroll bar.  

   

Reproducible: Always

Steps to Reproduce:
1. Open new browser window.
2. Use mouse for one click.
3. 
Actual Results:  
Attempt to use mouse again, will not work.  
Also, cursor does not change over hyperlinks.

Expected Results:  
Allowed normal operation of the mouse/cursor

Occurs on all websites, every time.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

This works fine for me. Have you tried:

- Firefox's safe-mode to exclude extension/theme problems
- a new profile
- a reinstall in a new EMPTY folder? 

http://kb.mozillazine.org/Safe_Mode_(Firefox)
http://kb.mozillazine.org/Profile_Folder

I can confirm this, and so can a fair number of other users in the support forum. I got this on two identical machines so far.
Both were a clean XP SP3 installation and Firefox 3.0 without any extensions or such. Just upgraded to 3.0.1 hoping it will go away, but from the other users reports it seems it would not.
I am getting exactly the same problem here, since the very last update Nov. 22, 2008 (maybe it was yesterday, dunno). I'm using it on a XP SP2. Instead of clicking on another program (btw, good ol'Netscape 7.2 is working fine as always), I press Ctrl+Alt+Del, open the Win Task Manager, and it allows me one more click. So I leave the Task Mgr open, and use Ctrl+Alt+Del between clicks, or shift back to Netscape when I get bored from doing it.

MS Internet Exploder? Neverrrrr!
OS: WinXP Pro v2002 SP3

I can confirm this bug appeared only in the past few days on FF 3.0.? (perhaps/coincidentally following the various MS start of month updates over the weekend of 1-2 Aug)
Before learning too much about it under 3.0.? I uninstalled FF cleaned out the directory and then installed FF 3.5.2 to an empty install directory.

The bug persists!

Whenever the mouse click fails to respond (see 4 known scenarios listed below) I can quickly recover by:
A) left clicking the FF window icon in the taskbar once to minimize the FF window
B) left click a second time on the same icon to restore the FF window 
C) click in whichever area of the FF window I could not successfully click before

I find that the mouse clicking continues to behave up until the point when:
(i) I create a new tab
(ii) I need to change focus to another tab
(iii) I need to click anywhere outside the currently displayed page e.g. the address box, search box, toolbar {back, refresh, home buttons} or Mewnu bar {File, Edit, View, Tools, Help} (Note: I can still use keyboard shortcuts to access those menus and Backspace key to access the back button function)
(iv) If I use a keyboard shortcut to access the File, Edit,View, ... menu items and as a result cause a pop-over window to appear then I cannot successfully click within that pop-over window. (e.g. ALt+T then O to bring up the Options window.)

In each of the above cases the expedient (but annoying) workaround/remedy is to regain focus using the A,B,C steps described earlier.

For the pop-over window case: sometimes the procedure is _slightly_ different. (This seems to be the case when the pop-over window has it's own taskbar icon.) viz.
a) using keyboard Alt+H then A to open the "About FF" pop-over window I find I cannot dismiss the pop-over window or view the credits
b) clicking just _once_ on the pop-over window's taskbar icon seems to give focus to that window
c) successively click the [Credits] button and the [<About...] button to toggle between the two views within the pop-over window.
d) Of course clicking [OK] button dismisses the pop-over ... at which point:
d1) the mouse clicks are not registering within the page area but
d2) do successfully register anywhere _outside_ the page area e.g. the address box, search box, toolbar {back, refresh, home buttons} or Mewnu bar {File, Edit, View, Tools, Help}
e) To restore mouse click registering within the page area follow steps A,B,C above.

Very annoying. Enough to make me actually use IE8 at times! yuk!

- - - -
If there is any other form of clean install I should try then please advise.
Sorry I'd overlooked the advice re using:
 
firefox -safemode

I tried that just now and the buggy behavior persists even with all addons disabled.

mmm ... Strange that all my usual addons are present even though this was after a clean install of FF 3.5.2 to not merely an _empty_ install folder but rather to a _non-existing_ folder i.e. it needed to first create the target install folder.
Launching firefox -P and specifying a freshly created profile does not change the symptoms described.
I am very sorry for this chain of comments. The buggy behavior has stopped. 

While searching for other possible causes I now believe that my specific problem was probably due to a snafu involving the touchpad/stick pointing device driver and perhaps some recent update of the OS and/or FF. (The Alps TouchPad driver file has not been updated since ~2004 whereas the OS and FF experienced updates around the 1-2 Aug.)

The "fix" took effect _immediately_ after toggling the pointing device from touchpad to stick and then back to touchpad again. 
(I did not leave the stick device enabled long enough to test whether or not the buggy behavior was present. I can say with certainty that the buggy behavior had persisted even when an external mouse had been used however, at those times the touchpad had also been enabled.) 
Normal mouse click registering for any tab or toolbar icon and links/buttons within a page has resumed.

I cannot imagine any good reason why Firefox should have been affected by this glitch while unaffected apps included: MS-Word, MS-Excel, Win-Explorer, IE8, SciTE, Wordpad, Notepad, IrfanView, Adobe Reader and possibly some other utilities I can no longer recall.

I hope these notes help somebody else facing the same dilemma.
Attached several screenshots showing the bug.
Possible duplicates of this bug: Bug 465259, Bug 451116, Bug 483254.
OK, I think I've figured this out, finally: I can now reproduce this bug with 100% consistency. There is both a "logical" and a "physical" state for the middle mouse button. Even if there is nothing physically wrong with the mouse and the middle mouse button is not physically stuck, it is possible for the middle mouse button to become "logically stuck" when using certain drivers or software such as AutoHotkey and (possibly, judging by the first two comments on Bug 465259) Remote Desktop.

To reproduce: download the attached plain-text AutoHotkey script (reproduce-firefox-bug.ahk) and the GPL AutoHotkey software (http://www.autohotkey.com/) needed to run it. When the script is running:

press "w" to start Firefox's "Weird mode"
press "q" to Quit when you've had enough

Exit the script using the tray icon to disable the "w" and "q" hotkeys.

I still consider this a bug with Firefox even if it is ultimately due to a logically or physically stuck middle mouse button. There is no justifiable reason for the software to behave so bizarrely just because the middle mouse button is depressed (intentionally or otherwise). You can see from the screenshots I attached earlier that after messing around for a while it is possible to actually *click through* the title bar of the active and in-focus Add-ons window and bring up the browser's help menu. That is insanity.
I have random issues with not being able to click things.  what's odd is that I see the "need to click multiple times" happen in other browsers like IE8 as well.  If someone can fix this I would be a very happy FF guy and will be recommending it more to other customers and probably telling them why (once the ability to upload files is fixed).
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.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles

You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
(In reply to comment #3)
> I am getting exactly the same problem here, since the very last update Nov. 22,
> 2008 (maybe it was yesterday, dunno). I'm using it on a XP SP2. Instead of
> clicking on another program (btw, good ol'Netscape 7.2 is working fine as
> always), I press Ctrl+Alt+Del, open the Win Task Manager, and it allows me one
> more click. So I leave the Task Mgr open, and use Ctrl+Alt+Del between clicks,
> or shift back to Netscape when I get bored from doing it.
> 
> MS Internet Exploder? Neverrrrr!

Me again. All these problems, and a few others too, vanished as soon as I replaced a superb serial mouse (which was still good as new after 18 years of use and abuse) for a plain vanilla USB one. Later updates of Windows XP simply hate serial mice.
serial as in RS-232C serial, or serial as in USB serial, or serial as in PS/2 Serial?  be specific.

I have had problems with USB mice/keyboards disappearing on me (not just me) when the USB Root Hub gets disconnected by software or a corrupted OS.  so I stick with PS/2 - it's more stable.  I have had mice go out before (sometimes preventing booting), so it makes sense that one would need to be replaced after a few years of use.  I do computer repair and I am also a software engineer and a web programmer.
Hey guys, you aren't the original reporter, so can we please try to keep this bug on track and not go into hardware issues here please? thank you.
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.