{"action":"opened","number":854,"pull_request":{"url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854","id":30267992,"html_url":"https://github.com/cefsharp/CefSharp/pull/854","diff_url":"https://github.com/cefsharp/CefSharp/pull/854.diff","patch_url":"https://github.com/cefsharp/CefSharp/pull/854.patch","issue_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/854","number":854,"state":"open","locked":false,"title":"WPF DPI","user":{"login":"bjarteskogoy","id":213410,"avatar_url":"https://avatars.githubusercontent.com/u/213410?v=3","gravatar_id":"","url":"https://api.github.com/users/bjarteskogoy","html_url":"https://github.com/bjarteskogoy","followers_url":"https://api.github.com/users/bjarteskogoy/followers","following_url":"https://api.github.com/users/bjarteskogoy/following{/other_user}","gists_url":"https://api.github.com/users/bjarteskogoy/gists{/gist_id}","starred_url":"https://api.github.com/users/bjarteskogoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjarteskogoy/subscriptions","organizations_url":"https://api.github.com/users/bjarteskogoy/orgs","repos_url":"https://api.github.com/users/bjarteskogoy/repos","events_url":"https://api.github.com/users/bjarteskogoy/events{/privacy}","received_events_url":"https://api.github.com/users/bjarteskogoy/received_events","type":"User","site_admin":false},"body":"- pixel position was translated\r\n- RenderClientAdapter was getting transformed sizes\r\n\r\nRemoved code probably needed when GetScreenInfo wasn't implemented. Removing this seems to fix all issues. Tested on 125% dpi.\r\n\r\nNow the only transform needed is down scaling the bitmap from cef, probably due to the InteropBitmap having dpi size 96, even when running with higher DPI. Dont' now what could be done to fix this.\r\n\r\nWith the WritableBitmap dpi size is specified in the constructor (https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Wpf/Rendering/WritableBitmapInfo.cs#L50). Using the correct dpi here gets rid of the need for transforms. Tested this too on 125%.","created_at":"2015-03-02T09:17:20Z","updated_at":"2015-03-02T09:17:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854/commits","review_comments_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854/comments","review_comment_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/854/comments","statuses_url":"https://api.github.com/repos/cefsharp/CefSharp/statuses/07f759d531ea5c000cc925083b3af39fd45d5323","head":{"label":"bjarteskogoy:feature/device_scale_factor","ref":"feature/device_scale_factor","sha":"07f759d531ea5c000cc925083b3af39fd45d5323","user":{"login":"bjarteskogoy","id":213410,"avatar_url":"https://avatars.githubusercontent.com/u/213410?v=3","gravatar_id":"","url":"https://api.github.com/users/bjarteskogoy","html_url":"https://github.com/bjarteskogoy","followers_url":"https://api.github.com/users/bjarteskogoy/followers","following_url":"https://api.github.com/users/bjarteskogoy/following{/other_user}","gists_url":"https://api.github.com/users/bjarteskogoy/gists{/gist_id}","starred_url":"https://api.github.com/users/bjarteskogoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjarteskogoy/subscriptions","organizations_url":"https://api.github.com/users/bjarteskogoy/orgs","repos_url":"https://api.github.com/users/bjarteskogoy/repos","events_url":"https://api.github.com/users/bjarteskogoy/events{/privacy}","received_events_url":"https://api.github.com/users/bjarteskogoy/received_events","type":"User","site_admin":false},"repo":{"id":24197586,"name":"CefSharp","full_name":"bjarteskogoy/CefSharp","owner":{"login":"bjarteskogoy","id":213410,"avatar_url":"https://avatars.githubusercontent.com/u/213410?v=3","gravatar_id":"","url":"https://api.github.com/users/bjarteskogoy","html_url":"https://github.com/bjarteskogoy","followers_url":"https://api.github.com/users/bjarteskogoy/followers","following_url":"https://api.github.com/users/bjarteskogoy/following{/other_user}","gists_url":"https://api.github.com/users/bjarteskogoy/gists{/gist_id}","starred_url":"https://api.github.com/users/bjarteskogoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjarteskogoy/subscriptions","organizations_url":"https://api.github.com/users/bjarteskogoy/orgs","repos_url":"https://api.github.com/users/bjarteskogoy/repos","events_url":"https://api.github.com/users/bjarteskogoy/events{/privacy}","received_events_url":"https://api.github.com/users/bjarteskogoy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjarteskogoy/CefSharp","description":".NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework","fork":true,"url":"https://api.github.com/repos/bjarteskogoy/CefSharp","forks_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/forks","keys_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/teams","hooks_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/hooks","issue_events_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/issues/events{/number}","events_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/events","assignees_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/assignees{/user}","branches_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/branches{/branch}","tags_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/tags","blobs_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/languages","stargazers_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/stargazers","contributors_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/contributors","subscribers_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/subscribers","subscription_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/subscription","commits_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/contents/{+path}","compare_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/merges","archive_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/downloads","issues_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/issues{/number}","pulls_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/labels{/name}","releases_url":"https://api.github.com/repos/bjarteskogoy/CefSharp/releases{/id}","created_at":"2014-09-18T17:17:14Z","updated_at":"2015-02-25T08:14:49Z","pushed_at":"2015-03-02T09:05:02Z","git_url":"git://github.com/bjarteskogoy/CefSharp.git","ssh_url":"git@github.com:bjarteskogoy/CefSharp.git","clone_url":"https://github.com/bjarteskogoy/CefSharp.git","svn_url":"https://github.com/bjarteskogoy/CefSharp","homepage":"","size":273495,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cefsharp:master","ref":"master","sha":"8755a9496ffbd5f21bc6ef062bce687a22d83938","user":{"login":"cefsharp","id":5076038,"avatar_url":"https://avatars.githubusercontent.com/u/5076038?v=3","gravatar_id":"","url":"https://api.github.com/users/cefsharp","html_url":"https://github.com/cefsharp","followers_url":"https://api.github.com/users/cefsharp/followers","following_url":"https://api.github.com/users/cefsharp/following{/other_user}","gists_url":"https://api.github.com/users/cefsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/cefsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cefsharp/subscriptions","organizations_url":"https://api.github.com/users/cefsharp/orgs","repos_url":"https://api.github.com/users/cefsharp/repos","events_url":"https://api.github.com/users/cefsharp/events{/privacy}","received_events_url":"https://api.github.com/users/cefsharp/received_events","type":"Organization","site_admin":false},"repo":{"id":1135454,"name":"CefSharp","full_name":"cefsharp/CefSharp","owner":{"login":"cefsharp","id":5076038,"avatar_url":"https://avatars.githubusercontent.com/u/5076038?v=3","gravatar_id":"","url":"https://api.github.com/users/cefsharp","html_url":"https://github.com/cefsharp","followers_url":"https://api.github.com/users/cefsharp/followers","following_url":"https://api.github.com/users/cefsharp/following{/other_user}","gists_url":"https://api.github.com/users/cefsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/cefsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cefsharp/subscriptions","organizations_url":"https://api.github.com/users/cefsharp/orgs","repos_url":"https://api.github.com/users/cefsharp/repos","events_url":"https://api.github.com/users/cefsharp/events{/privacy}","received_events_url":"https://api.github.com/users/cefsharp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cefsharp/CefSharp","description":".NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework","fork":false,"url":"https://api.github.com/repos/cefsharp/CefSharp","forks_url":"https://api.github.com/repos/cefsharp/CefSharp/forks","keys_url":"https://api.github.com/repos/cefsharp/CefSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cefsharp/CefSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cefsharp/CefSharp/teams","hooks_url":"https://api.github.com/repos/cefsharp/CefSharp/hooks","issue_events_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/events{/number}","events_url":"https://api.github.com/repos/cefsharp/CefSharp/events","assignees_url":"https://api.github.com/repos/cefsharp/CefSharp/assignees{/user}","branches_url":"https://api.github.com/repos/cefsharp/CefSharp/branches{/branch}","tags_url":"https://api.github.com/repos/cefsharp/CefSharp/tags","blobs_url":"https://api.github.com/repos/cefsharp/CefSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cefsharp/CefSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cefsharp/CefSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cefsharp/CefSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cefsharp/CefSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/cefsharp/CefSharp/languages","stargazers_url":"https://api.github.com/repos/cefsharp/CefSharp/stargazers","contributors_url":"https://api.github.com/repos/cefsharp/CefSharp/contributors","subscribers_url":"https://api.github.com/repos/cefsharp/CefSharp/subscribers","subscription_url":"https://api.github.com/repos/cefsharp/CefSharp/subscription","commits_url":"https://api.github.com/repos/cefsharp/CefSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cefsharp/CefSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cefsharp/CefSharp/contents/{+path}","compare_url":"https://api.github.com/repos/cefsharp/CefSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cefsharp/CefSharp/merges","archive_url":"https://api.github.com/repos/cefsharp/CefSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cefsharp/CefSharp/downloads","issues_url":"https://api.github.com/repos/cefsharp/CefSharp/issues{/number}","pulls_url":"https://api.github.com/repos/cefsharp/CefSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/cefsharp/CefSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/cefsharp/CefSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/labels{/name}","releases_url":"https://api.github.com/repos/cefsharp/CefSharp/releases{/id}","created_at":"2010-12-03T15:23:23Z","updated_at":"2015-03-02T01:16:16Z","pushed_at":"2015-03-02T01:16:15Z","git_url":"git://github.com/cefsharp/CefSharp.git","ssh_url":"git@github.com:cefsharp/CefSharp.git","clone_url":"https://github.com/cefsharp/CefSharp.git","svn_url":"https://github.com/cefsharp/CefSharp","homepage":"","size":278251,"stargazers_count":981,"watchers_count":981,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":508,"mirror_url":null,"open_issues_count":82,"forks":508,"open_issues":82,"watchers":981,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854"},"html":{"href":"https://github.com/cefsharp/CefSharp/pull/854"},"issue":{"href":"https://api.github.com/repos/cefsharp/CefSharp/issues/854"},"comments":{"href":"https://api.github.com/repos/cefsharp/CefSharp/issues/854/comments"},"review_comments":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854/comments"},"review_comment":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cefsharp/CefSharp/pulls/854/commits"},"statuses":{"href":"https://api.github.com/repos/cefsharp/CefSharp/statuses/07f759d531ea5c000cc925083b3af39fd45d5323"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":16,"changed_files":6}}