Open Bug 525942 Opened 14 years ago Updated 6 months ago

Mouse out event cancels keyboard button press

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Windows Vista
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 GTB6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 GTB6 (.NET CLR 3.5.30729)

It looks like when a button is pressed by pressing the spacebar key while it has the focus rectangle, it uses the same mechanism as the mousedown and mouseup events.

Because the mousedown is cancelled by a mouseout, the mouseout can also cancel pressing the button with the spacebar.

It may be tricky to reproduce, because you can't hold down the spacebar to reproduce it, or it keeps sending keydown events (IIRC.)

Reproducible: Always

Steps to Reproduce:
You may have to try this a few times to get it to happen.

1. Make Firefox display a javascript confirmation dialog (OK/Cancel.)
2. Quickly jiggle the mouse cursor in and out of the OK button.
3. While doing 2, tap the spacebar.
Actual Results:  
OK button is not pressed. Dialog box does not go away.

Expected Results:  
OK button responds to spacebar unaffected by the mouse.
I should clarify that this affects all UI buttons, like the OK button in the About dialog.

Also, if you succeed in reproducing it, the button will press down when you mouseover it again.
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]
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: 12 years ago
Resolution: --- → INCOMPLETE
I am still seeing this issue after creating a new profile, as instructed. Please let me know if you need a better demo of the issue, such as some kind of screen video capture.

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Whiteboard: [CLOSEME 2011-1-30]
Version: unspecified → 3.6 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.