{"action":"created","issue":{"url":"https://api.github.com/repos/tux3/qTox/issues/974","labels_url":"https://api.github.com/repos/tux3/qTox/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/tux3/qTox/issues/974/comments","events_url":"https://api.github.com/repos/tux3/qTox/issues/974/events","html_url":"https://github.com/tux3/qTox/pull/974","id":53251852,"number":974,"title":"ChatLog v3","user":{"login":"krepa098","id":4587853,"avatar_url":"https://avatars.githubusercontent.com/u/4587853?v=3","gravatar_id":"","url":"https://api.github.com/users/krepa098","html_url":"https://github.com/krepa098","followers_url":"https://api.github.com/users/krepa098/followers","following_url":"https://api.github.com/users/krepa098/following{/other_user}","gists_url":"https://api.github.com/users/krepa098/gists{/gist_id}","starred_url":"https://api.github.com/users/krepa098/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krepa098/subscriptions","organizations_url":"https://api.github.com/users/krepa098/orgs","repos_url":"https://api.github.com/users/krepa098/repos","events_url":"https://api.github.com/users/krepa098/events{/privacy}","received_events_url":"https://api.github.com/users/krepa098/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":120,"created_at":"2015-01-02T13:10:35Z","updated_at":"2015-02-15T01:47:12Z","closed_at":"2015-02-14T23:40:00Z","pull_request":{"url":"https://api.github.com/repos/tux3/qTox/pulls/974","html_url":"https://github.com/tux3/qTox/pull/974","diff_url":"https://github.com/tux3/qTox/pull/974.diff","patch_url":"https://github.com/tux3/qTox/pull/974.patch"},"body":"This is my work on the QGraphicsScene based chat log I've been working on during the last few months. The main goal was to reduce memory consumption and fix all the glitches of the html based chat log (smiley alignment, elided text, ...).\r\n\r\nOther benefits:\r\n* Custom text selection \r\n* Animations\r\n* Widgets inside the chat log\r\n* No need for base64 encoded smileys\r\n\r\nTodo:\r\n- [x] Check whether message history is broken or not\r\n- [ ] Possibly change the selection algorithm to what @zetok suggested\r\n- [x] Test with lots of messages\r\n- [x] Implement quoting\r\n- [x] Respect time format\r\n- [x] fix https://gist.github.com/zetok/773876e11737200564c4\r\n- [x] fix \"Tox User\" in group chats\r\n- [x] fix anchors\r\n- [ ] fix autoscroll (can't reproduce)\r\n- [x] move * to name col (done, needs color)\r\n- [x] \"load history\" button\r\n- [x] revisit selection rectangle\r\n- [x] respect \"use emoticons\"\r\n- [x] clear should reset previousId\r\n- [x] fix crash in combination with history and clear\r\n- [x] implement scroll while selecting\r\n- [x] get rid of html in copied text\r\n- [x] typing notification\r\n\r\nI mainly created this PR to get some feedback/bug-reports. This is not ready to be merged although it should be fairly usable and stable.\r\n\r\nPic:\r\n![interface3](https://cloud.githubusercontent.com/assets/4587853/5596175/7b565de4-9287-11e4-85b5-e299cde1347c.jpg)\r\n\r\n**EDIT**: New branch at https://github.com/krepa098/qTox/commits/chatlog_v3_1 (unstashed version as requested by @dubslow )"},"comment":{"url":"https://api.github.com/repos/tux3/qTox/issues/comments/74400294","html_url":"https://github.com/tux3/qTox/pull/974#issuecomment-74400294","issue_url":"https://api.github.com/repos/tux3/qTox/issues/974","id":74400294,"user":{"login":"dubslow","id":6127392,"avatar_url":"https://avatars.githubusercontent.com/u/6127392?v=3","gravatar_id":"","url":"https://api.github.com/users/dubslow","html_url":"https://github.com/dubslow","followers_url":"https://api.github.com/users/dubslow/followers","following_url":"https://api.github.com/users/dubslow/following{/other_user}","gists_url":"https://api.github.com/users/dubslow/gists{/gist_id}","starred_url":"https://api.github.com/users/dubslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubslow/subscriptions","organizations_url":"https://api.github.com/users/dubslow/orgs","repos_url":"https://api.github.com/users/dubslow/repos","events_url":"https://api.github.com/users/dubslow/events{/privacy}","received_events_url":"https://api.github.com/users/dubslow/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T01:47:12Z","updated_at":"2015-02-15T01:47:12Z","body":"I like the moving icon, and I'm reasonably certain zetok does as well."}}