{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/53886","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/53886/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/53886/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/53886/events","html_url":"https://github.com/Microsoft/vscode/issues/53886","id":339516126,"node_id":"MDU6SXNzdWUzMzk1MTYxMjY=","number":53886,"title":"[folding] Don't expand when clicking on space after collapsed line","user":{"login":"tommai78101","id":6444116,"node_id":"MDQ6VXNlcjY0NDQxMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/6444116?v=4","gravatar_id":"","url":"https://api.github.com/users/tommai78101","html_url":"https://github.com/tommai78101","followers_url":"https://api.github.com/users/tommai78101/followers","following_url":"https://api.github.com/users/tommai78101/following{/other_user}","gists_url":"https://api.github.com/users/tommai78101/gists{/gist_id}","starred_url":"https://api.github.com/users/tommai78101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommai78101/subscriptions","organizations_url":"https://api.github.com/users/tommai78101/orgs","repos_url":"https://api.github.com/users/tommai78101/repos","events_url":"https://api.github.com/users/tommai78101/events{/privacy}","received_events_url":"https://api.github.com/users/tommai78101/received_events","type":"User","site_admin":false},"labels":[{"id":331200031,"node_id":"MDU6TGFiZWwzMzEyMDAwMzE=","url":"https://api.github.com/repos/Microsoft/vscode/labels/editor-folding","name":"editor-folding","color":"c5def5","default":false},{"id":272689392,"node_id":"MDU6TGFiZWwyNzI2ODkzOTI=","url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"dcdcdc","default":false}],"state":"open","locked":false,"assignee":{"login":"aeschli","id":6461412,"node_id":"MDQ6VXNlcjY0NjE0MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6461412?v=4","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false},"assignees":[{"login":"aeschli","id":6461412,"node_id":"MDQ6VXNlcjY0NjE0MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6461412?v=4","gravatar_id":"","url":"https://api.github.com/users/aeschli","html_url":"https://github.com/aeschli","followers_url":"https://api.github.com/users/aeschli/followers","following_url":"https://api.github.com/users/aeschli/following{/other_user}","gists_url":"https://api.github.com/users/aeschli/gists{/gist_id}","starred_url":"https://api.github.com/users/aeschli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeschli/subscriptions","organizations_url":"https://api.github.com/users/aeschli/orgs","repos_url":"https://api.github.com/users/aeschli/repos","events_url":"https://api.github.com/users/aeschli/events{/privacy}","received_events_url":"https://api.github.com/users/aeschli/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/8","html_url":"https://github.com/Microsoft/vscode/milestone/8","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/8/labels","id":1412124,"node_id":"MDk6TWlsZXN0b25lMTQxMjEyNA==","number":8,"title":"Backlog","description":"Work not yet planned for a specific release.","creator":{"login":"chrisdias","id":1487073,"node_id":"MDQ6VXNlcjE0ODcwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1487073?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisdias","html_url":"https://github.com/chrisdias","followers_url":"https://api.github.com/users/chrisdias/followers","following_url":"https://api.github.com/users/chrisdias/following{/other_user}","gists_url":"https://api.github.com/users/chrisdias/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdias/subscriptions","organizations_url":"https://api.github.com/users/chrisdias/orgs","repos_url":"https://api.github.com/users/chrisdias/repos","events_url":"https://api.github.com/users/chrisdias/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdias/received_events","type":"User","site_admin":false},"open_issues":1763,"closed_issues":4480,"state":"open","created_at":"2015-11-15T10:30:19Z","updated_at":"2018-12-10T13:15:06Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2018-07-09T16:13:42Z","updated_at":"2018-12-10T14:32:59Z","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: 1.24.1\r\n- OS Version: Windows 7 LTS\r\n\r\nSteps to Reproduce:\r\n\r\n1. Do either one of these steps:\r\n    - Copy the following code in a blank document that VS Code supports code folding in.\r\n    - Create a JavaScript document, and save it as \"foo.js\" anywhere.\r\n2. Copy the following code in (or create whatever code you can be syntactically correct in, and it has to have at least 5 lines of codes):\r\n```javascript\r\nfunction foo() {\r\n\tvar create1 = document.querySelector(\"div\");\r\n\tvar create2 = document.querySelector(\"div\");\r\n\tvar create3 = document.querySelector(\"div\");\r\n\tvar create4 = document.querySelector(\"div\");\r\n\tvar create5 = document.querySelector(\"div\");\r\n\tvar create6 = document.querySelector(\"div\");\r\n\tvar create7 = document.querySelector(\"div\");\r\n\tvar create8 = document.querySelector(\"div\");\r\n\tvar create9 = document.querySelector(\"div\");\r\n\tvar create10 = document.querySelector(\"div\");\r\n\tvar create11 = document.querySelector(\"div\");\r\n\tvar create12 = document.querySelector(\"div\");\r\n\tvar create13 = document.querySelector(\"div\");\r\n\tvar create14 = document.querySelector(\"div\");\r\n\tvar create15 = document.querySelector(\"div\");\r\n\tvar create16 = document.querySelector(\"div\");\r\n\tvar create17 = document.querySelector(\"div\");\r\n\tvar create18 = document.querySelector(\"div\");\r\n\t//... \r\n}\r\n```\r\n3. Fold the code function, `foo`, so it is folded like so:\r\n![image](https://user-images.githubusercontent.com/6444116/42462134-574c1bd6-8370-11e8-9aaa-78889db18bff.png)\r\n4. Click outside of Visual Studio Code, so Visual Studio Code is inactive (out-of-focus).\r\n5. Click on the right side of the left bracket on the line, `foo() {`, in Visual Studio Code. (Basically, clicking on the empty space, so the line indicator is highlighting the beginning of the code-folded line and the text cursor is at the end of the line).\r\n6. Observe that `foo` gets expanded upon first click, when the correct behavior should be the operating system switching context to Visual Studio Code, and consume the mouse click event without doing anything else.\r\n\r\nHere's a GIF in action:\r\n\r\n![gif](https://user-images.githubusercontent.com/6444116/42462427-3d528bce-8371-11e8-9849-65f0fc352848.gif)\r\n\r\nIf we have a list of code-folded functions, and all the user wanted to do was to go back to Visual Studio Code and scroll the document up/down, the user may inadvertently unfold the code, and it would annoy the user to re-fold the code back before continuing to scroll.\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/445835639","html_url":"https://github.com/Microsoft/vscode/issues/53886#issuecomment-445835639","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/53886","id":445835639,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTgzNTYzOQ==","user":{"login":"Rawalanche","id":38806207,"node_id":"MDQ6VXNlcjM4ODA2MjA3","avatar_url":"https://avatars3.githubusercontent.com/u/38806207?v=4","gravatar_id":"","url":"https://api.github.com/users/Rawalanche","html_url":"https://github.com/Rawalanche","followers_url":"https://api.github.com/users/Rawalanche/followers","following_url":"https://api.github.com/users/Rawalanche/following{/other_user}","gists_url":"https://api.github.com/users/Rawalanche/gists{/gist_id}","starred_url":"https://api.github.com/users/Rawalanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rawalanche/subscriptions","organizations_url":"https://api.github.com/users/Rawalanche/orgs","repos_url":"https://api.github.com/users/Rawalanche/repos","events_url":"https://api.github.com/users/Rawalanche/events{/privacy}","received_events_url":"https://api.github.com/users/Rawalanche/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T14:32:59Z","updated_at":"2018-12-10T14:32:59Z","author_association":"NONE","body":"Hi, another vote from me. This behavior is extremely frustrating. When you fold any function in MSVS, then everything still feels solid and comfortable. But when you fold anything in VSCode, you immediately start to feel like a EOD unit member, having to be very, VERY careful where you click. It's never a good thing to introduce any behavior that requires user to feel uneasy and careful."}}
{"actor":{"display_login":"Rawalanche"}}