{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/15274","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/15274/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/15274/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/15274/events","html_url":"https://github.com/Microsoft/vscode/issues/15274","id":188419625,"number":15274,"title":"Investigate regression to `code <folder> <path>` in hot exit","user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"labels":[{"id":256129993,"url":"https://api.github.com/repos/Microsoft/vscode/labels/bug","name":"bug","color":"E57E7E","default":true},{"id":461390715,"url":"https://api.github.com/repos/Microsoft/vscode/labels/hot-exit","name":"hot-exit","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/30","html_url":"https://github.com/Microsoft/vscode/milestones/November%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/30/labels","id":2029906,"number":30,"title":"November 2016","description":"","creator":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"open_issues":151,"closed_issues":154,"state":"open","created_at":"2016-09-26T20:19:36Z","updated_at":"2016-11-10T05:45:13Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-11-10T04:48:37Z","updated_at":"2016-11-10T05:51:09Z","closed_at":null,"body":"From @bpasero in https://github.com/Microsoft/vscode/pull/14115#discussion_r87144113\r\n\r\n> @Tyriar something is very broken here in this case:\r\n> * have a window with a folder open that has a dirty untitled file\r\n> * close that window without saving\r\n> * from the command line start `code <path to that folder> <file in that folder>`\r\n> => you are not seeing the file being opened \r\n> => instead the dirty untitled file is opened\r\n\r\n> This is related to the comment I made in that one issue where I said that your restore logic will not work if someone opens Code like that."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/259607243","html_url":"https://github.com/Microsoft/vscode/issues/15274#issuecomment-259607243","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/15274","id":259607243,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T05:51:09Z","updated_at":"2016-11-10T05:51:09Z","body":"@Tyriar option a) cannot be an option. Imagine I double click on a file in the explorer and instead of opening that file, I see a window with my dirty files restored. The only option I see is b). Maybe also interesting to see what others are doing in that case?"}}
{"actor":{"display_login":"bpasero"}}