You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, just open the desktop build, and hit ctrl-c without doing anything else. You will go straight to the node-webkit crash screen, with the message, "Uncaught node.js Error. Bad state for CUT callback in SelectionManager". If you draw on the canvas and then hit ctrl-c without a selection, you get the "Your piskel seems to have unsaved changes..." message. If you select ok, it will crash in the same way.
Ctrl-c works fine if you have a selection, but crashes without one. Maybe just don't throw an error in SelectionManager?
By the way, I noticed that the node-webkit version defined in package.json is v~0.10.1, which is a bit behind. It might be safe enough to say "latest"?
The text was updated successfully, but these errors were encountered:
I'm not completely sure about this, but can you use process.on('uncaughtException') to create a generic exception handler? Then you could just log it from there.
Here's a little bug I encountered early on.
To reproduce, just open the desktop build, and hit ctrl-c without doing anything else. You will go straight to the node-webkit crash screen, with the message, "Uncaught node.js Error. Bad state for CUT callback in SelectionManager". If you draw on the canvas and then hit ctrl-c without a selection, you get the "Your piskel seems to have unsaved changes..." message. If you select ok, it will crash in the same way.
Ctrl-c works fine if you have a selection, but crashes without one. Maybe just don't throw an error in SelectionManager?
By the way, I noticed that the node-webkit version defined in package.json is v~0.10.1, which is a bit behind. It might be safe enough to say "latest"?
The text was updated successfully, but these errors were encountered: