{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4045","labels_url":"https://api.github.com/repos/atom/electron/issues/4045/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4045/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4045/events","html_url":"https://github.com/atom/electron/issues/4045","id":125848504,"number":4045,"title":"Windows 10 Browser Window Bounds Calculating Incorrectly","user":{"login":"kirkouimet","id":62191,"avatar_url":"https://avatars.githubusercontent.com/u/62191?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkouimet","html_url":"https://github.com/kirkouimet","followers_url":"https://api.github.com/users/kirkouimet/followers","following_url":"https://api.github.com/users/kirkouimet/following{/other_user}","gists_url":"https://api.github.com/users/kirkouimet/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkouimet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkouimet/subscriptions","organizations_url":"https://api.github.com/users/kirkouimet/orgs","repos_url":"https://api.github.com/users/kirkouimet/repos","events_url":"https://api.github.com/users/kirkouimet/events{/privacy}","received_events_url":"https://api.github.com/users/kirkouimet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/blocked","name":"blocked","color":"d4c5f9"},{"url":"https://api.github.com/repos/atom/electron/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/atom/electron/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-10T21:59:40Z","updated_at":"2016-01-11T07:34:13Z","closed_at":null,"body":"The Browser Window `width` and `x` coordinates are being calculated incorrectly in Windows 10 (Windows 8.1 did not have this problem). Here you can see that the `getBounds()` function is showing that my `x` value is 0 but the desktop background is showing through. I'm guessing this may have something to do with a subtle shadow that each window in Windows 10 is now casting.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/62191/12224314/36dccefa-b7a2-11e5-9ae0-a7181a41f1c7.png)\r\n\r\nNot sure how to fix this, but would be nice to resolve as I have some window state management code written to pin windows in the correct location, and now they are not properly being positioned."},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/170453161","html_url":"https://github.com/atom/electron/issues/4045#issuecomment-170453161","issue_url":"https://api.github.com/repos/atom/electron/issues/4045","id":170453161,"user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"created_at":"2016-01-11T07:34:13Z","updated_at":"2016-01-11T07:34:13Z","body":"Windows 10 has a thinner frame than before, and in order to be compatible with existing apps it is returning wrong values in its win32 APIs. You can reproduce the same problem in Chrome browser:\r\n\r\n<img width=\"1058\" alt=\"screen shot 2016-01-11 at 3 25 55 pm\" src=\"https://cloud.githubusercontent.com/assets/639601/12228532/d726e7b2-b877-11e5-9c2a-59f466da93ca.png\">\r\n\r\nI have reported the problem to upstream: https://crbug.com/576192."}}