nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

window.onfocus/onblur not triggering

Open zaceno opened this issue 13 years ago • 6 comments

Looks like this might be a regression. Running Mac OS X 10.8.3 and node-webkit 0.42 [26.0.1377.0 (1377.0)] Happy to provide more information if you need it.

zaceno avatar Apr 07 '13 22:04 zaceno

Is the window you are testing with framed or frameless?

mmorrisontx avatar Apr 08 '13 10:04 mmorrisontx

It's framed. The only thing I do with the gui object is the name juggling to make it play nice with requirejs. (I have it there because I used to have kiosk mode enabled but took that particular code out)

On 8 apr 2013, at 12:35, Michael Morrison [email protected] wrote:

Is the window you are testing with framed or frameless?

— Reply to this email directly or view it on GitHub.

zaceno avatar Apr 08 '13 10:04 zaceno

Catch these bug too, in 0.5.1, MacOS 10.8.3 In windows xp - all is ok.

reznikartem avatar May 22 '13 16:05 reznikartem

I'm also having bug reports that this would affect, and they're all coming from OSX 10.8. I personally only have 10.7, so I haven't verified.

twrodriguez avatar Jun 02 '13 17:06 twrodriguez

For some reason, I thought I had this working before, but it seems onfocus/onblur don't fire whether it's on the native window object or the one retrieved from require('nw.gui')....

jamesmortensen avatar Jun 20 '14 23:06 jamesmortensen

Collecting all references to this issue here now: https://github.com/rogerwang/node-webkit/issues/1809

tommoor avatar Dec 16 '14 06:12 tommoor