Edit 14NOV2021
To everyone using the C3 editor in NWJS, I've tested this on a fresh new VM with Windows 10, and there is definitely a significant random issue when using popup windows or the debugger, so right now, I'd strongly urge everyone to avoid using C3 in NWJS, even from the official source or the third party launcher (which I always used and really adore!) but for now, you will run the risk of C3 suddenly closing with no error, possibly lose unsaved work, and then you need the computer knowledge to find your appdata folder and delete the right folder and waste time setting up C3 again, with the chance that you might need to repeat this process multiple times to get it working again. I recommend, and I believe Scirra also recommends, using C3 in Chrome, and then using the Remote Preview Tool to preview your project in NWJS, even though C3 itself is running in Chrome.
EDIT 2:
I might have found a further clue - Lowering the NWJS version from v55 down to v50, the popups work again. Weirdly, the popups open maximised, I don't believe they used to do that? I'll pinpoint the latest NWJS version and post back, and maybe write a bug report, but at least there is a hopeful workaround!
EDIT 1:
I just tried opening NWJS Construct 3 in a fresh new virtual machine, and did the exact steps to trigger the same issue:
NOTE: Please follow the below steps CAREFULLY if you are a NWJS user, as this may corrupt your "construct3" appdata folder, meaning you will need to reinstall addons and set your settings and themes again.
1. Rename your current appdata folder for c3 to back it up safely! (c:\Users\YOUR_USERNAME\AppData\Local (the folder is named "construct3")
1. Open NWJS C3 in r260.
2. Click the cross to close the welcome message.
3. Close the "Start page" to make the project bar appear.
4. Right-click the Properties/Layers/Project bar and choose "Popup Window" option.
5. Silent crash. And it will reoccur every time you open NWJS C3.
6. To fix - Delete the newly-created "construct3" folder, and rename your original construct3 folder back to normal.
Step 3 is the clue - I believe the "Buy now" screen is supposed to hide the project and property bars, yet they display if you close the "Start Page" tab, maybe this is a clue to the bug - baring in mind I triggered this bug mid-way using C3 rather than on startup
If, however, I do the below, it works fine:
1. Open NWJS C3 in r260
2. Click the cross to close the welcome message
3. Open Kiwi Story from start page.
4. You can safely use "Popup Window" on the project bar, properties bar, etc.
5. Close all popup windows.
6. Close the current Kiwi Story project.
7. You will now be on the "Buy now" tab.
8. Click the "Start page" button.
9. Open Kiwi Story.
10. All is working fine with popup windows still.
Original post:
Hey all, hope someone could help me at all, I'm at a loss :(
I use the NWJS version of C3 all the time, as my project fundamentally relies on loading local files and using File/Save popups.
Mysteriously, in the middle of using C3 yesterday, it crashed without warning. Hours of use, suddenly it just crashes (closes silently).
Now I opened C3 again in NWJS, and I am finding that, even with no project open, if I use "open as Popup window" on ANY panel (Properties, Find, etc.), it will silently crash and leave a crash dump in my APPDATA folder for "construct3" (which I have no clue how to open, apparently I need WinDBG?).
I have tested this thoroughly, renaming the old appdata folder and using an older version of C3, and I still get the crashes when using "Open as popup window".
SOMETIMES it works with a fresh C3 in NWJS with no appdata folder. But so far, I can't find a pattern. The only pattern I find is, once it crashes once, it will 100% crash again the next time I open and try to open a popup window.
When testing, I open Kiwi Story, and manage to get the same crash to happen, so it's not related to my project.
I'm HOPING this is a computer issue, and I do not suspect it is C3. I use Avast, and nothing is appearing in my history. Windows Defender has nothing in the logs. Event Viewer has nothing interesting in its logs.
Anyone had anything similar? Any suggestions that may help? I use dual-monitors and use popup windows all the time :(