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

Node-webkit will hang when there is an alert

Open freewind opened this issue 13 years ago • 15 comments

Visit http://angular-ui.github.com/bootstrap, click the "open module" button on the middle, there will be an dialog. Close it, there will be an alert dialog. Click on the page, then node-webkit hangs.

Here is my screencast:

nw-alert-dead

freewind avatar Mar 21 '13 06:03 freewind

You probably just needed to press "Ok" in the alert box? Yes, the button is mostly hidden for some reason but that would normally be the only way to get rid of an alert.

tommoor avatar Apr 03 '13 09:04 tommoor

The alert dialog will hide if I click the "OK", but if I clicked somewhere other than the "OK" button, the program is hanging, it won't respond any click event any more. I can do nothing but kill it.

freewind avatar Apr 03 '13 09:04 freewind

This is the way that every webpage works though? You can't do anything until you okay the alert - it's always been the case for JS alerts

tommoor avatar Apr 03 '13 09:04 tommoor

You have no chance to click the "OK" button if you clicked on somewhere else first, because node-webkit is DEAD. You can do nothing but kill the process.

I feel strange that you didn't understand what I mean, maybe you used a node-webkit of different version? Or it doesn't die on your OS?

freewind avatar Apr 03 '13 10:04 freewind

You can see in my screencast, when the alert dialog displayed, I clicked on the page, then I click on the alert dialog. But the alert dialog won't get the focus, the color of the title bar is not changed to dark blue.

freewind avatar Apr 03 '13 10:04 freewind

i met the same issue,but how can i solve it?

Arnoldnuo avatar Nov 08 '13 14:11 Arnoldnuo

@freewind the site you provided has changed so I'm not able to reproduce it in the same way as you did

rogerwang avatar Feb 10 '14 05:02 rogerwang

You finally have time to view it, after almost 1 year :(

freewind avatar Feb 10 '14 14:02 freewind

@freewind does the bug still exist?

rogerwang avatar Feb 10 '14 19:02 rogerwang

@rogerwang Sorry, I haven't use it for a long time. You may ask the other guys in the list, thank you

freewind avatar Feb 12 '14 14:02 freewind

I met the same issue on windows xp

hezhijun avatar Sep 05 '14 12:09 hezhijun

Yea we are facing the same issue. Dialog button goes out of screen. We are unable to click "OK" or close from 'x' button.

On Fri, Sep 5, 2014 at 5:42 PM, hezhijun [email protected] wrote:

I met the same issue on windows xp

— Reply to this email directly or view it on GitHub https://github.com/rogerwang/node-webkit/issues/558#issuecomment-54617223 .

kamesh-a avatar Sep 05 '14 14:09 kamesh-a

I also encountered this problem does not know how to solve

mb5u avatar Sep 06 '14 03:09 mb5u

still exists in the lastest version !! .. on windows xp only classic theme can show the "ok" and on windows 7 only areo theme can show the "ok" ..

leixu2txtek avatar Sep 28 '14 08:09 leixu2txtek

yes this is absolutetly bug, my clients (buyer) were angry when there is a simple bug like this, true story.

oknoorap avatar Aug 20 '15 15:08 oknoorap