{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/451","repository_url":"https://api.github.com/repos/jupyter/notebook","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/451/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/451/events","html_url":"https://github.com/jupyter/notebook/issues/451","id":107035134,"node_id":"MDU6SXNzdWUxMDcwMzUxMzQ=","number":451,"title":"Accidentally Deleting Several Cells Using 'X'","user":{"login":"vemeresomluktar","id":765778,"node_id":"MDQ6VXNlcjc2NTc3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/765778?v=4","gravatar_id":"","url":"https://api.github.com/users/vemeresomluktar","html_url":"https://github.com/vemeresomluktar","followers_url":"https://api.github.com/users/vemeresomluktar/followers","following_url":"https://api.github.com/users/vemeresomluktar/following{/other_user}","gists_url":"https://api.github.com/users/vemeresomluktar/gists{/gist_id}","starred_url":"https://api.github.com/users/vemeresomluktar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vemeresomluktar/subscriptions","organizations_url":"https://api.github.com/users/vemeresomluktar/orgs","repos_url":"https://api.github.com/users/vemeresomluktar/repos","events_url":"https://api.github.com/users/vemeresomluktar/events{/privacy}","received_events_url":"https://api.github.com/users/vemeresomluktar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jupyter/notebook/milestones/1","html_url":"https://github.com/jupyter/notebook/milestone/1","labels_url":"https://api.github.com/repos/jupyter/notebook/milestones/1/labels","id":1063964,"node_id":"MDk6TWlsZXN0b25lMTA2Mzk2NA==","number":1,"title":"Reference","description":"","creator":{"login":"minrk","id":151929,"node_id":"MDQ6VXNlcjE1MTkyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/151929?v=4","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":122,"closed_issues":656,"state":"open","created_at":"2015-04-12T18:46:00Z","updated_at":"2018-07-19T12:07:37Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-17T17:38:25Z","updated_at":"2018-07-26T15:35:56Z","closed_at":"2015-10-06T16:59:55Z","author_association":"NONE","body":"Hello!\nI love the Jupyter Notebook and I use it extensively in my research. However, there is one feature that has been nagging me for a while.\n\nMy browser (Chrome on MacOS) sends several keydown events when I'm using the keyboard shortcuts in the notebook. Holding the S button will perform several saves, and holding the X button for 1 - 2 seconds will remove all the cells in the notebook (holding D does the same but slower). \n\nI don't know if is because my fingers are too fat, that I have bad coordination or both... But I accidentally delete cells from time to time (mainly because X is so close to the Cmd-button). Since there is only one undo step, the results can be devastating.  \n\nIs there a solution to this that I have missed? \n\nOtherwise I suggest adding a popup, or implementing one of the approaches outlined in the answers here: http://stackoverflow.com/questions/7686197/how-can-i-avoid-autorepeated-keydown-events-in-javascript\n\nI think this is the part that causes the problem:\nhttps://github.com/jupyter/notebook/blob/master/notebook/static/notebook/js/keyboardmanager.js#L130\n"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/408139016","html_url":"https://github.com/jupyter/notebook/issues/451#issuecomment-408139016","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/451","id":408139016,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODEzOTAxNg==","user":{"login":"ellisonbg","id":27600,"node_id":"MDQ6VXNlcjI3NjAw","avatar_url":"https://avatars3.githubusercontent.com/u/27600?v=4","gravatar_id":"","url":"https://api.github.com/users/ellisonbg","html_url":"https://github.com/ellisonbg","followers_url":"https://api.github.com/users/ellisonbg/followers","following_url":"https://api.github.com/users/ellisonbg/following{/other_user}","gists_url":"https://api.github.com/users/ellisonbg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisonbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisonbg/subscriptions","organizations_url":"https://api.github.com/users/ellisonbg/orgs","repos_url":"https://api.github.com/users/ellisonbg/repos","events_url":"https://api.github.com/users/ellisonbg/events{/privacy}","received_events_url":"https://api.github.com/users/ellisonbg/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T15:35:56Z","updated_at":"2018-07-26T15:35:56Z","author_association":"CONTRIBUTOR","body":"* Sorry you lost work, I can imagine you are really frustrated\r\n* We are aware of the issue\r\n* The solution is to have a fully capable undo-redo system, which takes a lot of time to build for an application as complex as the notebook.\r\n* That work has been started for JupyterLab, but was stalled due to a lack of funding\r\n* If you have any funding to help with this, please get in touch\r\n* Please refrain from using language like \"stupid\" in our community"}}
{"actor":{"display_login":"ellisonbg"}}