{"action":"created","issue":{"url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/4969","labels_url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/4969/labels{/name}","comments_url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/4969/comments","events_url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/4969/events","html_url":"https://github.com/linuxmint/Cinnamon/issues/4969","id":123902622,"number":4969,"title":"Window drag redraw has high latency","user":{"login":"TurkeyMan","id":1146706,"avatar_url":"https://avatars.githubusercontent.com/u/1146706?v=3","gravatar_id":"","url":"https://api.github.com/users/TurkeyMan","html_url":"https://github.com/TurkeyMan","followers_url":"https://api.github.com/users/TurkeyMan/followers","following_url":"https://api.github.com/users/TurkeyMan/following{/other_user}","gists_url":"https://api.github.com/users/TurkeyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/TurkeyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurkeyMan/subscriptions","organizations_url":"https://api.github.com/users/TurkeyMan/orgs","repos_url":"https://api.github.com/users/TurkeyMan/repos","events_url":"https://api.github.com/users/TurkeyMan/events{/privacy}","received_events_url":"https://api.github.com/users/TurkeyMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-26T01:06:03Z","updated_at":"2016-01-03T04:16:37Z","closed_at":null,"body":"Switching between Windows and Mint, it's very obvious that dragging is not smooth and snappy.\r\nIn Windows, the window stays firmly fixed to the mouse cursor, ie, move the mouse cursor, the window moves, and the tracks the exact pixel the mouse clicked on.\r\nIn Mint, the windows move visibly 1-2 frames behind the mouse cursor. The cursor moves off ahead of the window, and stop moving the mouse, you can watch a couple of frames where the window 'catches up' with the mouse. I estimate 2, maybe 3 frames of rendering latency.\r\n\r\nMy computer is very fast, it is not a resource problem, and this happens the same on every computer I've ever tried.\r\n\r\nThis may be related to: https://github.com/linuxmint/Cinnamon/issues/2465\r\nBut I think this is a separate issue, since I also experience the stutter mentioned in that issue as an additional problem.\r\n"},"comment":{"url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/comments/168457841","html_url":"https://github.com/linuxmint/Cinnamon/issues/4969#issuecomment-168457841","issue_url":"https://api.github.com/repos/linuxmint/Cinnamon/issues/4969","id":168457841,"user":{"login":"TurkeyMan","id":1146706,"avatar_url":"https://avatars.githubusercontent.com/u/1146706?v=3","gravatar_id":"","url":"https://api.github.com/users/TurkeyMan","html_url":"https://github.com/TurkeyMan","followers_url":"https://api.github.com/users/TurkeyMan/followers","following_url":"https://api.github.com/users/TurkeyMan/following{/other_user}","gists_url":"https://api.github.com/users/TurkeyMan/gists{/gist_id}","starred_url":"https://api.github.com/users/TurkeyMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurkeyMan/subscriptions","organizations_url":"https://api.github.com/users/TurkeyMan/orgs","repos_url":"https://api.github.com/users/TurkeyMan/repos","events_url":"https://api.github.com/users/TurkeyMan/events{/privacy}","received_events_url":"https://api.github.com/users/TurkeyMan/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T04:16:37Z","updated_at":"2016-01-03T04:16:37Z","body":"I see. How much queuing of events is going on?\r\nI've never written js before, but browsing through, it looks like the event handlers are called immediately when signals emit, so that shouldn't introduce latency. Latency would only normally be introduced when messages are deferred or queued and handled in a traditional message pump style. So maybe that's not happening here?"}}