Unreadable buttons in alert() and prompt() dialogs [$100]
On Windows XP, the alert() and prompt() windows have hardly readable buttons. On Windows 7, it works properly. https://groups.google.com/d/topic/node-webkit/mByrzqMeMYU/discussion

There is a $100 open bounty on this issue. Add to the bounty at Bountysource.
I can confirm similar problem on Vista as well.
Probably depends on the theme set in the system.
For example, that's the result for the classic theme on Windows XP:

Also, what's your node-webkit version? (The most recent version does not seem to display “Alert” or “Prompt” in the title of those dialog windows, as far as I see.)
I use node-webkit 0.4.2 and Windows 7 64bit, the screen of code like:
window.onbeforeunload=function(event){
return "alert";
}
looks like this:

This issue still exists with latest node webkit build and windows xp. (not tested on other windows versions)...
This issue also exists with the latest node webkit build and Window 7. I am using it for a confirm dialog .
Same issue (nw 0.8 + xp + confirm and alert). Any update?
Same issue on windows 7 32bit and node-webkit v0.10.1-win-ia32
Same problem with windows xp + nw 0.10.5 works well with windows 7 Home Premium instead.
It worked much better on pc when I used 'window.alert' instead of just 'alert'.
Bug is still present (NW v0.10.5, Windows 7 Pro). Please note that with alert() and confirm() (same problem with window.alert() and window.confirm()):
- pressing "enter" key does not trigger anything
- clicking the closing arrow does not trigger anything
@CarmelK : Not on Win 7 Pro here.
Now that I think of that, alert and window.alert is the same thing:

Therefore there's no reason for window.alert to behave any better.
Just to add - this is a problem on Win7 if you disable Aero - it seems OK (at least for me) if you have Aero enabled - checked in latest version (W764 here)
I have the same problem here on Windows 7 Basic 32-bit. Since it's Basic, there's no Aero mode.

@rogerwang Any idea what could be causing this? It's realy disturbing and dates back 2 years...
will look to fix it soon.
@rogerwang When would you like to look into it ?
Hi guys, any news on this? :)
Quite a weird issue, and really disturbing. Any ideas?
Just as @Mithgol said, the real problem is about the compatibility of chromium of old windows system. As you know, such basic javascript code is handled by chromium module itself.
Anyway, both alert() and prompt() dialog work well on my win7-64bit. Suggestion: try to build nw.js locally. Maybe on different .NET version it works differently.
Note: it has NOTHING to do with "older systems", there are plenty of 'newer systems' which run Windows7 without Aero (some software doesn't work well with it - some hardware isn't good enough and as someone said, there are versions of W7 which don't have it!!)
I've been doing a bit of work with a similar project to nw.js - atom-shell - and I came across a comment by the developer who was explaining that all the "dialog" windows (generated by alert, confirm, prompt) have to be coded manually per-platform and that was something he wouldn't be doing because there were easy alternatives such as http://tristanedwards.me/sweetalert and http://fabien-d.github.io/alertify.js/ - more here too http://webuilddesign.com/6-javascript-tools-to-create-cool-user-alert/ ...
So I'm in the process of gutting-out all my usage of alert/prompt/confirm as I type - I like the more 'styleable' CSS approach anyway - thought I'd leave this here for anyone who runs into this in future tho