-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NWjs crashes sometimes on Windows when using menu.popup #4697
Comments
I guess the menu is GCed before the crash. To verify this idea, does holding a reference to the menu object help? |
Yes it helps. |
please try this build: http://dl.nwjs.io/live-build/04-10-2016/723bab6-897a464-c2a3dcf-65b297d/ |
Same here... var gui = require('nw.gui');
var menu = new gui.Menu();
var item = new gui.MenuItem({ label: 'Item A' });
menu.append(item);
menu.popup(10, 10); // <---- crash |
Both of nw 14.7, 18.7 and 18.8 crash with the same thing Eventually I found that if I use "Aero Visual Styles", it doesn't crash. |
NWjs crashes sometimes on Windows when using
menu.popup
.The problem appears since the fix #4593.
dmp.zip
menu-test.zip
The text was updated successfully, but these errors were encountered: