{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/59680","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/59680/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/59680/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/59680/events","html_url":"https://github.com/Microsoft/vscode/issues/59680","id":365163872,"node_id":"MDU6SXNzdWUzNjUxNjM4NzI=","number":59680,"title":"Untitled files sometimes remain open in the background","user":{"login":"garyking","id":343940,"node_id":"MDQ6VXNlcjM0Mzk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/343940?v=4","gravatar_id":"","url":"https://api.github.com/users/garyking","html_url":"https://github.com/garyking","followers_url":"https://api.github.com/users/garyking/followers","following_url":"https://api.github.com/users/garyking/following{/other_user}","gists_url":"https://api.github.com/users/garyking/gists{/gist_id}","starred_url":"https://api.github.com/users/garyking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyking/subscriptions","organizations_url":"https://api.github.com/users/garyking/orgs","repos_url":"https://api.github.com/users/garyking/repos","events_url":"https://api.github.com/users/garyking/events{/privacy}","received_events_url":"https://api.github.com/users/garyking/received_events","type":"User","site_admin":false},"labels":[{"id":272689423,"node_id":"MDU6TGFiZWwyNzI2ODk0MjM=","url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"E2A1C2","default":false}],"state":"open","locked":false,"assignee":{"login":"bpasero","id":900690,"node_id":"MDQ6VXNlcjkwMDY5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/900690?v=4","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},"assignees":[{"login":"bpasero","id":900690,"node_id":"MDQ6VXNlcjkwMDY5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/900690?v=4","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}],"milestone":null,"comments":2,"created_at":"2018-09-29T20:19:57Z","updated_at":"2018-10-02T04:54:52Z","closed_at":null,"author_association":"NONE","body":"<!-- Please search existing issues to avoid creating duplicates. --> \r\n<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->\r\n\r\n<!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: Version 1.27.2 (1.27.2)\r\n- OS Version: macOS 10.13.6 (17G65)\r\n\r\nSteps to Reproduce:\r\n\r\n1. Open a new untitled tab. \r\n2. Type something in it. \r\n3. Close it, and it will tell you there are still unsaved changes. Choose `Don't save`.\r\n4. Sometimes, the `1` badge will still appear on the `Explorer` icon, indicating that the unsaved document is still open in the background.\r\n\r\nThis occurs to me about once a day. I notice it when I close a workspace, and it notifies me that there are still unsaved changes, yet I can't see any, except for the badge. I frequently open new untitled tabs, type something in them, then close them, without saving. \r\n\r\nIt's very difficult to pinpoint the cause. It seems to matter at what point I close the tab. \r\n\r\nThe problem may *possibly* occur when I close the document and the `Git` icon is showing the `refresh` badge. Since the `refresh` badge appears for less than a second, and perhaps once every minute or so, it's hard to reproduce this event purposely, yet the event of closing an unsaved document and this badge appearing occurs pretty frequent on a daily basis, by accident.\r\n\r\nI've had this bug for months, perhaps about three months or more.\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/426148762","html_url":"https://github.com/Microsoft/vscode/issues/59680#issuecomment-426148762","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/59680","id":426148762,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjE0ODc2Mg==","user":{"login":"bpasero","id":900690,"node_id":"MDQ6VXNlcjkwMDY5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/900690?v=4","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":"2018-10-02T04:54:52Z","updated_at":"2018-10-02T04:54:52Z","author_association":"MEMBER","body":"Yeah please do."}}
{"actor":{"display_login":"bpasero"}}