Closed davewallace closed 7 years ago
I can't seem to reproduce this bug now. This was a known issue previously, until the last release of Sketch, where those actions stopped causing a crash. Are you using the latest version of Sketch?
I wasn't updated - 44.1 was the reported version number though. It was bad update timing, I refused the updater just that same morning. I've now updated (still on 44.1 which is odd), and the issue continues - here's a screencast (excuse the chugginess, QuickTime very slow for some reason): https://drive.google.com/file/d/0B1dgdFJOLjqweTRuXzVwampDZU0/view?usp=sharing
Also, this repo was a fresh clone on the same day (last Friday) without having ever installed it before, so I wouldn't have any previous install history (I'm pretty new to Sketch).
Ok, I was able to reproduce it. It only happens when clearing, not loading I believe. I've been trying to figure out how to update the color picker while it is open, but haven't had much luck. That being the case, a quick fix for this might be to just close the popover when the palette is cleared, preventing the actions that cause the crash, since you currently have to close and re-open the color picker to see the changes reflected anyway.
Ok, I went ahead and implemented closing the popover when a palette is cleared or loaded. If you grab the latest release, you shouldn't be able to trigger the crash now. Going to go ahead and close this ticket.
Hi there,
First off, sweet plugin - thank you :)
Secondly, I crashed Sketch today by doing the following on macos Sierra (up-to-date):
Actually I am not certain whether it was the expand or collapse action that crashed, but it was one of them.