marcisme / sketch-preview

Sketch plugin to preview mockups in Skala Preview
MIT License
610 stars 37 forks source link

Cmd+P with an artboard selected won't work. #6

Closed ungemeinfein closed 10 years ago

ungemeinfein commented 10 years ago

This seems like an awesome plugin, but for me Cmd+P does not send the selected artboard to Skala, but always the first one (which is not selected). It works great with a slice or artboard named "Preview", but not without. Any hints on that?

Thanks a lot!

marcisme commented 10 years ago

Are you running the latest versions of Sketch and the preview plugin? Have you ever run a beta version of Sketch?

This seems similar to #4. The resolution in that case was to reinstall and/or rename the ~/Library/Containers/com.bohemiancoding.sketch directory. First I'd try upgrading to the latest versions of everything. If that doesn't fix it, and you're comfortable poking around in Library, try renaming the aforementioned container directory. Be aware that you'll have to redo the preferences and any customizations you've made though.

Let me know if either of those fixes it. Since this is the second similar issue with the current artboard, I've reported an issue on Sketch's support site. I don't know if they'll get back to me, but the more information I can give them, the better.

marcisme commented 10 years ago

Also if you could try the Sketch document in the test directory of this project and see if you can reproduce the issue with it to rule out any document specific issues.

ungemeinfein commented 10 years ago

Thank you for looking into that. I run the latest version of Sketch (Version 2.4.3 (5355)), and as far as I remember I never used a beta or unofficial version. Everything should be up to date since I downloaded and installed Skala and the Plugin just yesterday.

Indeed, #4 sounds very similar. I'll try your advice with the library. Thanks again!

marcisme commented 10 years ago

@ungemeinfein Did you end up resetting your container directory, and if so, did it fix the issue?

marcisme commented 10 years ago

I've updated the README with some new troubleshooting info I discovered today, and I also added debug logging to help diagnose these sorts of problems in the future. I'm going to assume things are working and close this. Please re-open if there's still a problem.

ungemeinfein commented 10 years ago

@marcisme Sorry fo the delay. I updated to Sketch 3 in the meantime, everything works fine now. Thanks again for your support!