{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/5679","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/5679/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/5679/comments","events_url":"https://api.github.com/repos/electron/electron/issues/5679/events","html_url":"https://github.com/electron/electron/issues/5679","id":156528787,"number":5679,"title":"saveDirectory for save dialog boxes does not work properly on Windows","user":{"login":"desilinguist","id":161680,"avatar_url":"https://avatars.githubusercontent.com/u/161680?v=3","gravatar_id":"","url":"https://api.github.com/users/desilinguist","html_url":"https://github.com/desilinguist","followers_url":"https://api.github.com/users/desilinguist/followers","following_url":"https://api.github.com/users/desilinguist/following{/other_user}","gists_url":"https://api.github.com/users/desilinguist/gists{/gist_id}","starred_url":"https://api.github.com/users/desilinguist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desilinguist/subscriptions","organizations_url":"https://api.github.com/users/desilinguist/orgs","repos_url":"https://api.github.com/users/desilinguist/repos","events_url":"https://api.github.com/users/desilinguist/events{/privacy}","received_events_url":"https://api.github.com/users/desilinguist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T14:52:55Z","updated_at":"2016-05-24T14:57:14Z","closed_at":null,"body":"* Electron version: 1.0.2\r\n* Operating system: Windows 7\r\n\r\nUsing `dialog.showSaveDialog({properties: ['saveDirectory']})` on Windows seems to behave incorrectly. On OS X, if I try to save a directory in a folder where another directory with the same name already exists, it correctly asks me if I want to replace the older directory. However, on Windows, it seems to save the new directory inside the older directory with the same name. \r\n\r\nFor example, if I want to save the directory `foobar` on the Desktop but `Desktop/foobar` already exists, on OS X, it will ask me if I want to replace `Desktop/foobar` but on Windows, there's no prompt and it just saves `Desktop/foobar/foobar`. \r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/221298230","html_url":"https://github.com/electron/electron/issues/5679#issuecomment-221298230","issue_url":"https://api.github.com/repos/electron/electron/issues/5679","id":221298230,"user":{"login":"desilinguist","id":161680,"avatar_url":"https://avatars.githubusercontent.com/u/161680?v=3","gravatar_id":"","url":"https://api.github.com/users/desilinguist","html_url":"https://github.com/desilinguist","followers_url":"https://api.github.com/users/desilinguist/followers","following_url":"https://api.github.com/users/desilinguist/following{/other_user}","gists_url":"https://api.github.com/users/desilinguist/gists{/gist_id}","starred_url":"https://api.github.com/users/desilinguist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desilinguist/subscriptions","organizations_url":"https://api.github.com/users/desilinguist/orgs","repos_url":"https://api.github.com/users/desilinguist/repos","events_url":"https://api.github.com/users/desilinguist/events{/privacy}","received_events_url":"https://api.github.com/users/desilinguist/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T14:57:13Z","updated_at":"2016-05-24T14:57:13Z","body":"Hmm, may be I just hallucinated that `saveDirectory` is a valid property for the save dialog box."}}
{"actor":{"display_login":"desilinguist"}}