{"action":"created","issue":{"url":"https://api.github.com/repos/mypaint/mypaint/issues/379","labels_url":"https://api.github.com/repos/mypaint/mypaint/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/mypaint/mypaint/issues/379/comments","events_url":"https://api.github.com/repos/mypaint/mypaint/issues/379/events","html_url":"https://github.com/mypaint/mypaint/issues/379","id":97457327,"number":379,"title":"Preview Dockpanel causes too much lag while drawing.","user":{"login":"MarbleStarry","id":13521206,"avatar_url":"https://avatars.githubusercontent.com/u/13521206?v=3","gravatar_id":"","url":"https://api.github.com/users/MarbleStarry","html_url":"https://github.com/MarbleStarry","followers_url":"https://api.github.com/users/MarbleStarry/followers","following_url":"https://api.github.com/users/MarbleStarry/following{/other_user}","gists_url":"https://api.github.com/users/MarbleStarry/gists{/gist_id}","starred_url":"https://api.github.com/users/MarbleStarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarbleStarry/subscriptions","organizations_url":"https://api.github.com/users/MarbleStarry/orgs","repos_url":"https://api.github.com/users/MarbleStarry/repos","events_url":"https://api.github.com/users/MarbleStarry/events{/privacy}","received_events_url":"https://api.github.com/users/MarbleStarry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mypaint/mypaint/labels/performance","name":"performance","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"achadwick","id":61299,"avatar_url":"https://avatars.githubusercontent.com/u/61299?v=3","gravatar_id":"","url":"https://api.github.com/users/achadwick","html_url":"https://github.com/achadwick","followers_url":"https://api.github.com/users/achadwick/followers","following_url":"https://api.github.com/users/achadwick/following{/other_user}","gists_url":"https://api.github.com/users/achadwick/gists{/gist_id}","starred_url":"https://api.github.com/users/achadwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achadwick/subscriptions","organizations_url":"https://api.github.com/users/achadwick/orgs","repos_url":"https://api.github.com/users/achadwick/repos","events_url":"https://api.github.com/users/achadwick/events{/privacy}","received_events_url":"https://api.github.com/users/achadwick/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mypaint/mypaint/milestones/4","html_url":"https://github.com/mypaint/mypaint/milestones/MyPaint%201.2.0-beta","labels_url":"https://api.github.com/repos/mypaint/mypaint/milestones/4/labels","id":1075743,"number":4,"title":"MyPaint 1.2.0-beta","description":"Phase milestone for all the beta bugfixes needed before the final 1.2 release. Only bugfixes are accepted during the beta phase, ideally: that means no new features or string changes without a very good reason, please! This is the phase where we start asking translators to work on their bit, so the strings need to be as static as possible at this point.\r\n\r\nThis milestone will generate formal prereleases on github.","creator":{"login":"achadwick","id":61299,"avatar_url":"https://avatars.githubusercontent.com/u/61299?v=3","gravatar_id":"","url":"https://api.github.com/users/achadwick","html_url":"https://github.com/achadwick","followers_url":"https://api.github.com/users/achadwick/followers","following_url":"https://api.github.com/users/achadwick/following{/other_user}","gists_url":"https://api.github.com/users/achadwick/gists{/gist_id}","starred_url":"https://api.github.com/users/achadwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achadwick/subscriptions","organizations_url":"https://api.github.com/users/achadwick/orgs","repos_url":"https://api.github.com/users/achadwick/repos","events_url":"https://api.github.com/users/achadwick/events{/privacy}","received_events_url":"https://api.github.com/users/achadwick/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":44,"state":"open","created_at":"2015-04-20T18:01:09Z","updated_at":"2015-08-27T21:55:37Z","due_on":"2015-09-13T23:00:00Z","closed_at":null},"comments":12,"created_at":"2015-07-27T12:57:39Z","updated_at":"2015-09-10T19:56:35Z","closed_at":null,"body":"Yesterday I installed MyPaint 1.2.0-beta.0.17 on Ubuntu 15.04 via using achadwick/mypaint-testing PPA on Launchpad. I was so excited when I saw new UI and I found out there was a preview dock with viewfinder. But anytime I open it, it causes extreme lag to brush while drawing. After few tests I found out that, when I draw something little on canvas, preview dock immadately notices it and focuses to it and causes lag, then I draw something outside of the preview dock's focusing area and the brush works without lag until preview dock notices it and focuses into it, and then (yes, you guessed it) it starts to lag again. But when dock is closed, lag goes away and it runs well.\r\n\r\nI think this happens because preview dock updates the preview in real-time with canvas. I think making preview dock update the view after stroke is finished would solve this issue. What I mean is:\r\n\r\nBrush stroke begins>Preview dock waits for it>Brush stroke finishes>Preview dock updates the view.\r\ninstead of\r\nBrush stroke begins>Preview dock updates the view in real-time>Brush stroke finishes>Preview dock finishes updating.\r\nwould be a lot better for performance.\r\n\r\nMaybe putting a setting under the View tab to enable or disable real-time updating? Is it possible?"},"comment":{"url":"https://api.github.com/repos/mypaint/mypaint/issues/comments/139363264","html_url":"https://github.com/mypaint/mypaint/issues/379#issuecomment-139363264","issue_url":"https://api.github.com/repos/mypaint/mypaint/issues/379","id":139363264,"user":{"login":"Rolliboy","id":14222930,"avatar_url":"https://avatars.githubusercontent.com/u/14222930?v=3","gravatar_id":"","url":"https://api.github.com/users/Rolliboy","html_url":"https://github.com/Rolliboy","followers_url":"https://api.github.com/users/Rolliboy/followers","following_url":"https://api.github.com/users/Rolliboy/following{/other_user}","gists_url":"https://api.github.com/users/Rolliboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Rolliboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rolliboy/subscriptions","organizations_url":"https://api.github.com/users/Rolliboy/orgs","repos_url":"https://api.github.com/users/Rolliboy/repos","events_url":"https://api.github.com/users/Rolliboy/events{/privacy}","received_events_url":"https://api.github.com/users/Rolliboy/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T19:56:35Z","updated_at":"2015-09-10T19:56:35Z","body":"Hi all!\r\nThis is a link to a video that shows the slowness of any the stroke I made.\r\nIt also shows version 1.0.0 of mypaint that works very well.\r\nseems that using a mouse there are less lag than using an Intuos 4\r\n\r\nAnother info is that closign any panel takes a second to succeed..\r\n\r\nHope you find this informations useful, ask anything I really appreciate this app and I'll try to give my little support!\r\n\r\nVIDEO SAMPLE:\r\nhttps://drive.google.com/file/d/0Bz0onNCzAi1AbmFIMUpKQnFjbHM/view?usp=sharing\r\n\r\nMYPAINT:\r\n1.2.0-beta.1+gitexport.a7012b4 \r\n\r\nOS:\r\nWindows 10 Pro 64 bit (10.0, build 10240)\r\n\r\nHARDWARE:\r\nIntel(R) Core(TM) i7 CPU 930 @ 2.80GHz (8 CPUs)\r\n12GB RAM\r\n\r\nGRAPHIC CARD:\r\nAMD Radeon HD 5800 Series\r\nDriver: aticfx64.dll v15.200.1062.1004\r\nDirectX v11.2\r\n"}}