-
Notifications
You must be signed in to change notification settings - Fork 35
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
Node removal should not trigger "update the image data" #274
Comments
/cc @zcorpan |
It might not be displayed but it can be painted on a canvas and its |
I'd argue that it's more likely that a subtle "removing |
More irc discussions lead to the conclusion that the above scenario won't trigger spurious downloads if done in the same script, but the "removed an |
A way to resolve this would be to "update the image data" with a null "selected source" in the removal scenario. |
That would mean an extra flag to "update the image data", and check it in step 3 and 8. Step 9 would then set the image to the broken state and fire an |
Yeah, avoiding the |
But that would still leave the image broken if you insert it to the document again... I'm still unconvinced we should change things here. |
Following an IRC discussion I don't think that node removal should trigger the "update the image data" algorithm as it may trigger spurious downloads, and there's no real benefit in doing that.
Once the image is removed from the picture parent, nothing will be displayed. Also, once it will get added elsewhere, "update the image data" algorithm should run.
Maybe we should just make sure that once it was removed from picture, the algo should run at next insertion (even if not to a picture parent or a separate document)?
The text was updated successfully, but these errors were encountered: