{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/3582","repository_url":"https://api.github.com/repos/kangax/fabric.js","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/3582/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/3582/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/3582/events","html_url":"https://github.com/kangax/fabric.js/issues/3582","id":197458132,"number":3582,"title":"globalCompositeOperation stopped working after 1.6.7","user":{"login":"human-a","id":1311814,"avatar_url":"https://avatars.githubusercontent.com/u/1311814?v=3","gravatar_id":"","url":"https://api.github.com/users/human-a","html_url":"https://github.com/human-a","followers_url":"https://api.github.com/users/human-a/followers","following_url":"https://api.github.com/users/human-a/following{/other_user}","gists_url":"https://api.github.com/users/human-a/gists{/gist_id}","starred_url":"https://api.github.com/users/human-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/human-a/subscriptions","organizations_url":"https://api.github.com/users/human-a/orgs","repos_url":"https://api.github.com/users/human-a/repos","events_url":"https://api.github.com/users/human-a/events{/privacy}","received_events_url":"https://api.github.com/users/human-a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-24T10:42:41Z","updated_at":"2016-12-24T15:39:42Z","closed_at":null,"body":"## Version\r\n1.7.2\r\n\r\n## Test Case\r\nhttps://jsfiddle.net/human_a/pg3scx0c/\r\n\r\n## Steps to reproduce\r\nI have group elements in my app, containing images with different globalCompositeOperation set to them, some of these images serve as shadows, some server as reflections etc. each of which require a different globalCompositeOperation set on them by default. But this feature has stopped working in recent updates for FabricJS.\r\n\r\nThe last version of the fabricJS that the globalCompositeOperation worked correctly on group elements was 1.6.7, any version after that does not work properly.\r\n\r\nIn the [jsFiddle](https://jsfiddle.net/human_a/pg3scx0c/) if you change the external resource to serve [fabric 1.6.7](https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.6.7/fabric.min.js) you can see the desired behavior for globalCompositeOperation. I looked into the source code of fabricJS but could not find which change in the recent updates caused this issue.\r\n"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/269089034","html_url":"https://github.com/kangax/fabric.js/issues/3582#issuecomment-269089034","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/3582","id":269089034,"user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars.githubusercontent.com/u/1194048?v=3","gravatar_id":"","url":"https://api.github.com/users/asturur","html_url":"https://github.com/asturur","followers_url":"https://api.github.com/users/asturur/followers","following_url":"https://api.github.com/users/asturur/following{/other_user}","gists_url":"https://api.github.com/users/asturur/gists{/gist_id}","starred_url":"https://api.github.com/users/asturur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asturur/subscriptions","organizations_url":"https://api.github.com/users/asturur/orgs","repos_url":"https://api.github.com/users/asturur/repos","events_url":"https://api.github.com/users/asturur/events{/privacy}","received_events_url":"https://api.github.com/users/asturur/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T15:39:42Z","updated_at":"2016-12-24T15:39:42Z","body":"with cache this wil not be possible becuse the composition will be executed once and not re executed while moving object."}}
{"actor":{"display_login":"asturur"}}