Skip to main content

Bug Tracker

Side navigation

#11450 closed bug (cantfix)

Opened March 07, 2012 08:33PM UTC

Closed March 08, 2012 01:43AM UTC

Last modified March 08, 2012 02:47AM UTC

focusin | focusout of input texts fire twice when window minimizes.

Reported by: limpakos@hotmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

Actually, when focus is moved to another window :S This is really simple to be a bug to be honest, but is that really what should be happening? While clicking and pointing in the same window, everything works great. But if an input has the focus and the window gets minimized and maximized, or i select another tab, and then get back to the initial document's tab, instead of one focusout and one focusin even {which is what I would expect}, two focusouts are fired, followed by two focusins. Is that what should be happening? I'm using chrome 17.0.963.66 m with jquery 1.7.1.

here's an example:

http://jsfiddle.net/dSbpc/2/

sounds silly, so sorry if i'm just completely wrong, but I really can't understand why the events trigger two times.

Attachments (0)
Change History (3)

Changed March 07, 2012 08:45PM UTC by limpakos@hotmail.com comment:1

also, i'm saying that because this does not occur at my friend's mac chrome {i'm using vista}.

Changed March 08, 2012 01:43AM UTC by dmethvin comment:2

resolution: → cantfix
status: newclosed

Looks like a Chrome bug to me. Here it is in bare DOM with no jQuery:

http://jsfiddle.net/dSbpc/3/

Works as expected in FF10, but not in Chrome 17.

We don't have a way to work around this, you'll need to report it to Chrome.

Changed March 08, 2012 02:47AM UTC by limpakos@hotmail.com comment:3

okie thx a lot and sorry for not checking that first. I'll go ask the chrome dudes...