Closed Bug 527748 Opened 12 years ago Closed 12 years ago
Fire mouse enter and exit events when window focus changes
Doing this fixes problems like this: - Move your mouse over a something that has a tooltip, e.g. the refresh button. - Before the tooltip appears, press Cmd+Tab in order to activate a different application. Don't move your mouse. Now the tooltip appears, even though Firefox is inactive. When bug 527657 is fixed, moving the mouse now will make the tooltip go away, but ideally it shouldn't open in the first place. The tooltip opens because deactivating the window didn't send a mouse exit event. The following scenario benefits from mouse enter events: - Click the Desktop in order to deactivate Firefox. - Move your mouse over the address bar, or any other text field. The cursor correctly keeps its arrow shape. - Activate Firefox by clicking this text field. Now the cursor should become an I-beam, but without this patch you need to move the mouse first.
Attachment #411482 - Flags: review?(joshmoz)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.