{"action":"created","issue":{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/142","labels_url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/142/comments","events_url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/142/events","html_url":"https://github.com/nvaccess/test_nvdaTracImport/issues/142","id":106186776,"number":142,"title":"Cancelling while opening a new document before it has started loading leaves user with no buffer","user":{"login":"michaelDCurran","id":14154141,"avatar_url":"https://avatars.githubusercontent.com/u/14154141?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelDCurran","html_url":"https://github.com/michaelDCurran","followers_url":"https://api.github.com/users/michaelDCurran/followers","following_url":"https://api.github.com/users/michaelDCurran/following{/other_user}","gists_url":"https://api.github.com/users/michaelDCurran/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelDCurran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelDCurran/subscriptions","organizations_url":"https://api.github.com/users/michaelDCurran/orgs","repos_url":"https://api.github.com/users/michaelDCurran/repos","events_url":"https://api.github.com/users/michaelDCurran/events{/privacy}","received_events_url":"https://api.github.com/users/michaelDCurran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/labels/component:Browse%20mode","name":"component:Browse mode","color":"ffffff"},{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/labels/priority:minor","name":"priority:minor","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/milestones/7","html_url":"https://github.com/nvaccess/test_nvdaTracImport/milestones/2009.1","labels_url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/milestones/7/labels","id":1302120,"number":7,"title":"2009.1","description":"None","creator":{"login":"michaelDCurran","id":14154141,"avatar_url":"https://avatars.githubusercontent.com/u/14154141?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelDCurran","html_url":"https://github.com/michaelDCurran","followers_url":"https://api.github.com/users/michaelDCurran/followers","following_url":"https://api.github.com/users/michaelDCurran/following{/other_user}","gists_url":"https://api.github.com/users/michaelDCurran/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelDCurran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelDCurran/subscriptions","organizations_url":"https://api.github.com/users/michaelDCurran/orgs","repos_url":"https://api.github.com/users/michaelDCurran/repos","events_url":"https://api.github.com/users/michaelDCurran/events{/privacy}","received_events_url":"https://api.github.com/users/michaelDCurran/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":57,"state":"closed","created_at":"2015-09-12T04:44:14Z","updated_at":"2015-09-12T21:55:09Z","due_on":"2009-11-05T14:00:00Z","closed_at":"2015-09-12T04:44:14Z"},"comments":3,"created_at":"2015-09-12T21:55:09Z","updated_at":"2015-09-12T21:55:13Z","closed_at":null,"body":"**Reported by jteh on 9 Apr 2008 10:07 UTC**\nIf a user opens a new document but cancels the request before the new document has actually started loading (i.e. the old document is still on screen), the user will be left with no virtual buffer.\r\n\r\n== Steps to Reproduce ==\r\n 1. Load any page, as long as it's fully loaded and has a proper buffer. \r\n 2. Go to an address that will take a while to load. The best way to do this is to use an address that will time out; e.g. http://11.22.33.44/ . :) This causes the document to go busy. \r\n 3. Now press escape.\r\n\r\n== Actual Results ==\r\nAfter pressing escape, there is no longer an active virtual buffer. In technical terms, there's no way to get our buffer back because we killed it off when it went busy. Alt+tabbing fixes it. For some reason, simply tabbing does not.\r\n\r\n== Expected Results ==\r\nThe user should be returned to the buffer as it was prior to attempting to open the new document.\r\n\r\n== Additional Comments ==\r\nI'm not sure how to solve this one. Even if we do get a state change back to read only and not busy (I would hope we do), there's no way to get it because we've killed our buffer object. \r\n\r\nThis all makes me wonder about the idea of not checking the busy state; i.e. the document gets loaded on focus and doc load complete, but busy isn't a requirement. \r\n"},"comment":{"url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/comments/139822393","html_url":"https://github.com/nvaccess/test_nvdaTracImport/issues/142#issuecomment-139822393","issue_url":"https://api.github.com/repos/nvaccess/test_nvdaTracImport/issues/142","id":139822393,"user":{"login":"michaelDCurran","id":14154141,"avatar_url":"https://avatars.githubusercontent.com/u/14154141?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelDCurran","html_url":"https://github.com/michaelDCurran","followers_url":"https://api.github.com/users/michaelDCurran/followers","following_url":"https://api.github.com/users/michaelDCurran/following{/other_user}","gists_url":"https://api.github.com/users/michaelDCurran/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelDCurran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelDCurran/subscriptions","organizations_url":"https://api.github.com/users/michaelDCurran/orgs","repos_url":"https://api.github.com/users/michaelDCurran/repos","events_url":"https://api.github.com/users/michaelDCurran/events{/privacy}","received_events_url":"https://api.github.com/users/michaelDCurran/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T21:55:13Z","updated_at":"2015-09-12T21:55:13Z","body":"**Modified by jteh on 16 Jun 2008 02:37 UTC**"}}