payload: {"action":"created","issue":{"url":"https://api.github.com/repos/rocket/rocket/issues/73","repository_url":"https://api.github.com/repos/rocket/rocket","labels_url":"https://api.github.com/repos/rocket/rocket/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/rocket/rocket/issues/73/comments","events_url":"https://api.github.com/repos/rocket/rocket/issues/73/events","html_url":"https://github.com/rocket/rocket/issues/73","id":461025381,"node_id":"MDU6SXNzdWU0NjEwMjUzODE=","number":73,"title":"Random order of XML attributes when saving","user":{"login":"mgunyho","id":20118130,"node_id":"MDQ6VXNlcjIwMTE4MTMw","avatar_url":"https://avatars1.githubusercontent.com/u/20118130?v=4","gravatar_id":"","url":"https://api.github.com/users/mgunyho","html_url":"https://github.com/mgunyho","followers_url":"https://api.github.com/users/mgunyho/followers","following_url":"https://api.github.com/users/mgunyho/following{/other_user}","gists_url":"https://api.github.com/users/mgunyho/gists{/gist_id}","starred_url":"https://api.github.com/users/mgunyho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgunyho/subscriptions","organizations_url":"https://api.github.com/users/mgunyho/orgs","repos_url":"https://api.github.com/users/mgunyho/repos","events_url":"https://api.github.com/users/mgunyho/events{/privacy}","received_events_url":"https://api.github.com/users/mgunyho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-06-26T15:02:14Z","updated_at":"2019-07-21T10:52:12Z","closed_at":null,"author_association":"NONE","body":"If I open a syncdata file and save it, the attributes in the XML `row`, `value` and `interpolation` are shuffled each time, and git thinks all keys in the file have been rewritten. This makes merging files a headache. Apparently, this is caused by `QDomElement.setAttribute` ([here](https://github.com/rocket/rocket/blob/901db86412a0d57600cb072c16deac9c3ebc709d/editor/syncdocument.cpp#L128)) storing the keys in a hashmap, which shuffles the keys on purpose (see [here](https://stackoverflow.com/questions/21535707/incorrect-order-of-attributes-in-qt-xml)). This could be fixed by seeding the hash as suggested in the SO thread."},"comment":{"url":"https://api.github.com/repos/rocket/rocket/issues/comments/513543465","html_url":"https://github.com/rocket/rocket/issues/73#issuecomment-513543465","issue_url":"https://api.github.com/repos/rocket/rocket/issues/73","id":513543465,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMzU0MzQ2NQ==","user":{"login":"kusma","id":47073,"node_id":"MDQ6VXNlcjQ3MDcz","avatar_url":"https://avatars3.githubusercontent.com/u/47073?v=4","gravatar_id":"","url":"https://api.github.com/users/kusma","html_url":"https://github.com/kusma","followers_url":"https://api.github.com/users/kusma/followers","following_url":"https://api.github.com/users/kusma/following{/other_user}","gists_url":"https://api.github.com/users/kusma/gists{/gist_id}","starred_url":"https://api.github.com/users/kusma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kusma/subscriptions","organizations_url":"https://api.github.com/users/kusma/orgs","repos_url":"https://api.github.com/users/kusma/repos","events_url":"https://api.github.com/users/kusma/events{/privacy}","received_events_url":"https://api.github.com/users/kusma/received_events","type":"User","site_admin":false},"created_at":"2019-07-21T10:52:12Z","updated_at":"2019-07-21T10:52:12Z","author_association":"MEMBER","body":"Hmm, I just tried to reproduce this on Qt 5.11 on Ubuntu, and I seem to get consistent behavior...\r\n\r\n@mgunyho: What environment do you trigger this under?"}}
other: {"actor":{"display_login":"kusma"}}