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
Windows Menu Creation #1870
Comments
I've noticed that in order for my menus to work on windows I have to build them in the opposite order that I build them for Mac. |
The workaround code does not work for me. Node-webkit 0.10.5 - Windows 8.1 |
I believe it is the case that all the 'instructions' - what the menu contains and how it is to be displayed - must be setup in the object data structures before you do the And yes I'm testing on Windows and haven't tried Linux yet. Whether the Windows implementation has stricter requirements would be a useful thing for Roger or someone else to comment on. |
I had this issue, and applying the @tshinnic's approach solved the menu item not showing, or additional changes to it not being applied. So on a build nwjs-v0.12.3-win-x64 the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I append a menu shortcut test case in my repo. It works well on Linux and OSX.
But on Windows platform, the case does not work well, but if I move codes in line 22, line 24 and line 19 to the end of the script, it works.
I think the menu should could be create and append at any place but not with a specific order. Since there is a workaround method , I will continue my porting work first.
@rogerwang Should I look back later and fix it(I think it is a bug.)?
Here is the workaround code. The only difference is the last 3 line JavaScript codes' position
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: