Nw.js: alert message is not visible in windows 7

Created on 12 Jul 2017  路  9Comments  路  Source: nwjs/nw.js

in the documentation there is a sample that will not show anything if click 'Item A', I found that it will show alert but it's not visible and if I press "Space key" on my keyboard, it will press 'ok'.
image

but if I change the Compatibility for the NW.exe, for example to Windows Vista, it will work:
image

image

image

the problem is I can't tell everyone to change the Compatibility mode! and also, some other features like sounds, will not work truly in compatibility mode...

All 9 comments

@rezaamya In which version of nwjs did you run? I have a similar problem here, but it is in the newer version v0.23.6, I want to check before opening an issue.

@EdvaldoLima I am using nwjs-v0.23.6-win-x64. same situation is for nwjs-v0.23.6-win-ia32 too.

@rezaamya ok, can you handle the alert, close, click "ok" normally?

@EdvaldoLima if you mean without using NWJS, yes I can, if you mean, inside the NWJS, I can't see the message but if I press Space on my keyboard, it will press "ok" and I can continue using NWJS, before pressing Space key, it's like freezing, but in fact the focus in on the alert box and I can't do anything before closing (by clicking on the "ok") the alert box.

@rezaamya many thanks for the answers, I can reproduce the same problem on Windows 10 x64, version 0.23.6-Win-x64 on the NWJs.

looks like this bug is due to my "transparency" code, introduced on nw23.6
and this bug should also affect win 8 and 10
on my win10 machine, you can see the alert, but you can't click it

there is a workaround, you can run "nw --disable-transparency"
meanwhile I'll try to find a solution for this

@rogerwang I've made a pull request https://github.com/nwjs/chromium.src/pull/88
to fix this issue
please also patch nw24, really sorry for this bug

@jtg-gg no problem.

Fixed in git and will be available in the next nightly build.

I also encountered this problem in version 14.7.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sorty-zz picture sorty-zz  路  4Comments

niutech picture niutech  路  4Comments

imyzf picture imyzf  路  4Comments

mmommo picture mmommo  路  4Comments

xland picture xland  路  3Comments