{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2170","labels_url":"https://api.github.com/repos/atom/electron/issues/2170/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2170/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2170/events","html_url":"https://github.com/atom/electron/issues/2170","id":94039866,"number":2170,"title":"Transparent window has white background window","user":{"login":"delvedor","id":4865608,"avatar_url":"https://avatars.githubusercontent.com/u/4865608?v=3","gravatar_id":"","url":"https://api.github.com/users/delvedor","html_url":"https://github.com/delvedor","followers_url":"https://api.github.com/users/delvedor/followers","following_url":"https://api.github.com/users/delvedor/following{/other_user}","gists_url":"https://api.github.com/users/delvedor/gists{/gist_id}","starred_url":"https://api.github.com/users/delvedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delvedor/subscriptions","organizations_url":"https://api.github.com/users/delvedor/orgs","repos_url":"https://api.github.com/users/delvedor/repos","events_url":"https://api.github.com/users/delvedor/events{/privacy}","received_events_url":"https://api.github.com/users/delvedor/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"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-09T12:47:27Z","updated_at":"2015-07-10T17:35:23Z","closed_at":null,"body":"Hi, I've some issue with the transparent window, my code is:\r\n```javascript\r\nwin = new BrowserWindow({\r\n  width: 100,\r\n  height: 50,\r\n  transparent: true,\r\n  frame: false\r\n});\r\n```\r\nOn Mac I have not any kind of problem, on my Windows 7 Parallels virtual machine again no problem, but on another pc (not virtualized) with Windows 7 transparent windows doesn't work (I have a white background).\r\n\r\nI haven't error logs from console.\r\nIn both Windows 7 machines I have DWM enabled and running (in fact, both are using aero)."},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/120470845","html_url":"https://github.com/atom/electron/issues/2170#issuecomment-120470845","issue_url":"https://api.github.com/repos/atom/electron/issues/2170","id":120470845,"user":{"login":"ankitaggarwal011","id":4436850,"avatar_url":"https://avatars.githubusercontent.com/u/4436850?v=3","gravatar_id":"","url":"https://api.github.com/users/ankitaggarwal011","html_url":"https://github.com/ankitaggarwal011","followers_url":"https://api.github.com/users/ankitaggarwal011/followers","following_url":"https://api.github.com/users/ankitaggarwal011/following{/other_user}","gists_url":"https://api.github.com/users/ankitaggarwal011/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitaggarwal011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitaggarwal011/subscriptions","organizations_url":"https://api.github.com/users/ankitaggarwal011/orgs","repos_url":"https://api.github.com/users/ankitaggarwal011/repos","events_url":"https://api.github.com/users/ankitaggarwal011/events{/privacy}","received_events_url":"https://api.github.com/users/ankitaggarwal011/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T17:35:23Z","updated_at":"2015-07-10T17:35:23Z","body":"I can confirm this on my windows 7(x64) machine as well. When the transparent flag is set to true.\r\nJust as @delvedor said, for,\r\ndimension < 160x80px : white background\r\ndimension >= 160x80px : transparent background"}}