{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/7146","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/7146/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/7146/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/7146/events","html_url":"https://github.com/Microsoft/vscode/issues/7146","id":158195000,"number":7146,"title":"Problems: there are some behaviour things in trees to consider","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},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/error-list","name":"error-list","color":"f9d0c4"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"sandy081","id":10746682,"avatar_url":"https://avatars.githubusercontent.com/u/10746682?v=3","gravatar_id":"","url":"https://api.github.com/users/sandy081","html_url":"https://github.com/sandy081","followers_url":"https://api.github.com/users/sandy081/followers","following_url":"https://api.github.com/users/sandy081/following{/other_user}","gists_url":"https://api.github.com/users/sandy081/gists{/gist_id}","starred_url":"https://api.github.com/users/sandy081/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandy081/subscriptions","organizations_url":"https://api.github.com/users/sandy081/orgs","repos_url":"https://api.github.com/users/sandy081/repos","events_url":"https://api.github.com/users/sandy081/events{/privacy}","received_events_url":"https://api.github.com/users/sandy081/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/20","html_url":"https://github.com/Microsoft/vscode/milestones/June%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/20/labels","id":1774575,"number":20,"title":"June 2016","description":"","creator":{"login":"bgashler1","id":11839736,"avatar_url":"https://avatars.githubusercontent.com/u/11839736?v=3","gravatar_id":"","url":"https://api.github.com/users/bgashler1","html_url":"https://github.com/bgashler1","followers_url":"https://api.github.com/users/bgashler1/followers","following_url":"https://api.github.com/users/bgashler1/following{/other_user}","gists_url":"https://api.github.com/users/bgashler1/gists{/gist_id}","starred_url":"https://api.github.com/users/bgashler1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgashler1/subscriptions","organizations_url":"https://api.github.com/users/bgashler1/orgs","repos_url":"https://api.github.com/users/bgashler1/repos","events_url":"https://api.github.com/users/bgashler1/events{/privacy}","received_events_url":"https://api.github.com/users/bgashler1/received_events","type":"User","site_admin":false},"open_issues":106,"closed_issues":145,"state":"open","created_at":"2016-05-18T17:48:57Z","updated_at":"2016-06-06T10:41:17Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":16,"created_at":"2016-06-02T17:23:12Z","updated_at":"2016-06-06T11:52:48Z","closed_at":null,"body":"Our trees typically behave like this:\r\n* clicking with the mouse keeps focus in the tree (see below for explanation)\r\n* double click moves focus to the editor\r\n* Cmd/Ctrl+click opens the editor to the side\r\n\r\nYou can see this in action e.g. in search: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/search/browser/searchViewlet.ts#L892\r\n\r\n\r\nWhen I use the mouse to click on an entry in the problems list, I would expect focus to remain in the list. It seems you open an editor without specifying the `preserveFocus` option which would keep the focus in the tree.\r\n\r\nOf course only use that option when the mouse is used, not on enter. I would also think that doubleclick should move focus into the editor too."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/223937625","html_url":"https://github.com/Microsoft/vscode/issues/7146#issuecomment-223937625","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/7146","id":223937625,"user":{"login":"sandy081","id":10746682,"avatar_url":"https://avatars.githubusercontent.com/u/10746682?v=3","gravatar_id":"","url":"https://api.github.com/users/sandy081","html_url":"https://github.com/sandy081","followers_url":"https://api.github.com/users/sandy081/followers","following_url":"https://api.github.com/users/sandy081/following{/other_user}","gists_url":"https://api.github.com/users/sandy081/gists{/gist_id}","starred_url":"https://api.github.com/users/sandy081/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandy081/subscriptions","organizations_url":"https://api.github.com/users/sandy081/orgs","repos_url":"https://api.github.com/users/sandy081/repos","events_url":"https://api.github.com/users/sandy081/events{/privacy}","received_events_url":"https://api.github.com/users/sandy081/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T11:52:48Z","updated_at":"2016-06-06T11:52:48Z","body":"@bpasero No, what I am saying is implementing this behavior with above issue is not giving good user experience. Hence suggesting to get a solution for that before implementing."}}
{"actor":{"display_login":"sandy081"}}