-
Notifications
You must be signed in to change notification settings - Fork 7
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
Sketch crashes after deleting all States in an Artboard #15
Comments
Hi @alienresident! Thanks for you report — we'll look into it and fix as soon as possible. |
I can't reproduce this issue locally for some reason. When I select all states (by pressing cmd+A) it selects all of them, then when I click Delete in the context menu it prompts me with an alert listing all of the states I've selected but the Initial State is not in this list (since, well, you shouldn't be able to remove the default state). Does it work the same way for you? Also, do you happen to be using the latest States version 0.99? (You can check your plugins versions by going to Plugins > Manage Plugins… menu in Sketch) |
Tried to go through this process for a few times and don't get the bug you On Tue, Aug 9, 2016 at 8:26 AM, Dmitry Rodionov [email protected]
Eden Vidal |
I updated to 0.99 (from 0.98) and it's not crashing anymore! |
Actually it still crashes. 0.99 I renamed the initial state to 'start' not sure if that is an issue.
Note: the States list is now empty! I tested this with a new file and it also crashed! |
@alienresident you're right: when I rename the default state to smth like "Start" I experience the same crash as you do. That's definitely a bug and we'll fix it as soon as possible now since it's 100% reproducible. |
@alienresident please check out the attached version — it should fix the issue you have with renaming the default state. |
@alienresident I'm closing this issue for now since I've pushed this fix into production (https://github.com/edenvidal/States/releases/tag/v1.0.0) — but you’re always welcome to re-open it if the same crash still happens for you. |
@rodionovd sorry I never got back to you. I tested the patch and Sketch no longer crashes! |
@alienresident awesome, thank you! |
Hi,
Great Plugin!
I found a bug that causes Sketch to crash. If I duplicate an Artboard with States, then select all of the States and delete them, Sketch deletes them but then crashes.
If I select all but one and delete them it's fine.
States-Crash.txt
Attaching Crash log.
Thanks,
Mark
The text was updated successfully, but these errors were encountered: