{"action":"opened","issue":{"url":"https://api.github.com/repos/inviwo/inviwo/issues/165","repository_url":"https://api.github.com/repos/inviwo/inviwo","labels_url":"https://api.github.com/repos/inviwo/inviwo/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/inviwo/inviwo/issues/165/comments","events_url":"https://api.github.com/repos/inviwo/inviwo/issues/165/events","html_url":"https://github.com/inviwo/inviwo/issues/165","id":332383459,"node_id":"MDU6SXNzdWUzMzIzODM0NTk=","number":165,"title":"ButtonProperty is _modified_ during deserialization","user":{"login":"martinfalk","id":9251300,"node_id":"MDQ6VXNlcjkyNTEzMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9251300?v=4","gravatar_id":"","url":"https://api.github.com/users/martinfalk","html_url":"https://github.com/martinfalk","followers_url":"https://api.github.com/users/martinfalk/followers","following_url":"https://api.github.com/users/martinfalk/following{/other_user}","gists_url":"https://api.github.com/users/martinfalk/gists{/gist_id}","starred_url":"https://api.github.com/users/martinfalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinfalk/subscriptions","organizations_url":"https://api.github.com/users/martinfalk/orgs","repos_url":"https://api.github.com/users/martinfalk/repos","events_url":"https://api.github.com/users/martinfalk/events{/privacy}","received_events_url":"https://api.github.com/users/martinfalk/received_events","type":"User","site_admin":false},"labels":[{"id":836052867,"node_id":"MDU6TGFiZWw4MzYwNTI4Njc=","url":"https://api.github.com/repos/inviwo/inviwo/labels/T:%20For%20discussion","name":"T: For discussion","color":"b6ed78","default":false},{"id":836051913,"node_id":"MDU6TGFiZWw4MzYwNTE5MTM=","url":"https://api.github.com/repos/inviwo/inviwo/labels/T:%20Question","name":"T: Question","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T12:37:30Z","updated_at":"2018-06-14T12:37:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I noticed that the internal state of a `ButtonProperty` is set to `propertyModified_ = true;` (`setModified()`) during deserialization. In my opinion this is really bad since pressing the button itself will result in exactly the same state, i.e. \"modified\". \r\nThis means that in the process function of my processor I am not able to differentiate between a regular button click and the first call of process after deserialization.\r\n\r\nBonus question: why should a processor with only a button property be evaluated after deserialization?"}}
{"actor":{"display_login":"martinfalk"}}