wonderunit / storyboarder

✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
https://wonderunit.com/storyboarder
3.24k stars 301 forks source link

Broken PS Link #773

Open Zavorio opened 7 years ago

Zavorio commented 7 years ago

I've been using Storyboarder for a couple of weeks with no problems but after the last update I don't get the frames to update in the timeline whenever I make a change in the PS files. Exporting won't work as well.

I do the following:

  1. I work on all frames inside Storyboarder.
  2. Open one frame to edit it in PS, if I happened to for example save the file by mistake with changes that are outside of the 'main' layer, I tend to break the link between that frame and PS. Even if I delete all additional layers and make sure changes are in 'mai'n and hit save the frame won't update in Storyboarder timeline and it won't export neither.
  3. If I delete the PS file to force a new link to a new PS file it still won't work.

Right now I have to export the broken link frames from Photoshop.

Specs

setpixel commented 7 years ago

cc @audionerd I think either the watch isn't triggering on the save, or the watch might not be happening in the first place. I think it might be the new watcher code not working well on windows. - or revert to the old watcher in a pref? I wonder if we should make a "force import psd"

audionerd commented 7 years ago

@Zavorio is your Storyboarder project saved on a network drive or external drive? Or on your local internal drive?

Can you be more specific about what happens when you try to export? Which export option, and how does it fail?

You could try "Toggle Developer Tools" after the export fails which will provide an error log. Let us know what errors you see.

Thanks for the report. We'll investigate on our side too.

Zavorio commented 7 years ago

@audionerd I do work all projects inside of a synced DB folder in an internal drive. But I worked on DB before the last update not experiencing this problem.

I use 'Export as Images', the result is basically that the exported images are what I did originally in Storyboarder (in my case a sketch in blue) but do not contain the PS changes (in my case a black stroke I save on 'main'). Even if open an image in PS and see that it does in fact have changes saved in it, Storyboarder won't display them in the timeline nor in the work area and won't export them.

Update: I also just noticed that after one image 'breaks' all images I edit in PS after that won't be updated. The only image working properly at the moment is the first one I edited before the error in image 2. if I edit its PSD file I do get it updated in Storyboarder and exported properly. All other images whether they have a PSD linked yet or not won't work properly.

setpixel commented 7 years ago

@Zavorio just out of curiousity, could you try copying your project to another folder outside of Dropbox, and try editing in photoshop then? I want to rule out Dropbox as a problem.

Zavorio commented 7 years ago

@setpixel I just moved the project outside of DB and also installed the latest build and still get the same error. I open a frame in PS see it has changes but those changes are not reflected in Storyboarder's timeline, work area nor exports.

audionerd commented 7 years ago

The file watching library we use has an option for "polling", which is more CPU intensive but more accurate. We could try exposing that as an option in Preferences and see if polling is better at detecting these changes.