{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/atom/issues/10301","labels_url":"https://api.github.com/repos/atom/atom/issues/10301/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/10301/comments","events_url":"https://api.github.com/repos/atom/atom/issues/10301/events","html_url":"https://github.com/atom/atom/issues/10301","id":125142063,"number":10301,"title":"Merging tabs after splitting panes results in editor crash","user":{"login":"tobypinder","id":618992,"avatar_url":"https://avatars.githubusercontent.com/u/618992?v=3","gravatar_id":"","url":"https://api.github.com/users/tobypinder","html_url":"https://github.com/tobypinder","followers_url":"https://api.github.com/users/tobypinder/followers","following_url":"https://api.github.com/users/tobypinder/following{/other_user}","gists_url":"https://api.github.com/users/tobypinder/gists{/gist_id}","starred_url":"https://api.github.com/users/tobypinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobypinder/subscriptions","organizations_url":"https://api.github.com/users/tobypinder/orgs","repos_url":"https://api.github.com/users/tobypinder/repos","events_url":"https://api.github.com/users/tobypinder/events{/privacy}","received_events_url":"https://api.github.com/users/tobypinder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-06T09:35:12Z","updated_at":"2016-01-06T09:35:12Z","closed_at":null,"body":"When merging tabs back into each other after opening the same file twice, the editor becomes non-responsive and has to be closed.\r\n\r\n**Reproduction Steps:**\r\n1. Open file.\r\n2. Right click file tab -> Split Right\r\n3. Add a character to one of the two panes, making the file modified. Don't save.\r\n4. Drag right tab on top of left tab.\r\n\r\n**Expected behavior:**\r\n\r\nRight tab disappears, as the file doesn't need to be open twice.\r\n\r\n**Observed behavior:**\r\n\r\nMost of the time, the editor will lock up, become unresponsive then present the error dialog allowing me to close it some seconds later.\r\n\r\n**Atom version:** 1.3.0\r\n**OS and version:** Linux Mint 17.2\r\n\r\n**Installed packages:**\r\n\r\n(via `apm list`\r\n/home/toby/.atom/packages (16)\r\n├── coverage@0.6.1\r\n├── file-icons@1.6.13\r\n├── highlight-selected@0.11.1\r\n├── language-haml@0.23.14\r\n├── linter@1.11.3\r\n├── linter-coffeelint@1.1.2\r\n├── linter-haml@1.1.0\r\n├── linter-jshint@1.2.2\r\n├── linter-rubocop@0.4.7\r\n├── linter-ruby@1.2.1\r\n├── merge-conflicts@1.3.7\r\n├── rubocop-auto-correct@1.1.0\r\n├── sync-settings@0.6.0\r\n├── synced-sidebar@0.4.3\r\n├── tasks@2.6.0\r\n└── todo-show@1.3.0\r\n\r\n**Comments:**\r\n\r\nThis happens about 80% of the time, other times nothing seems to happen and the right hand tab doesn't disappear (this could be me simply dragging the tab across wrong, haven't had time to exhaustively investigate.\r\n\r\nI understand this is a fairly bizarre thing to do in isolation but if you use the split X commands without keeping a close eye on what's open you can naturally end up with multiple copies of the same file open. And then when you intend to \"rebalance\" what's in each pane you end up performing this and having to reset Atom.\r\n\r\nHappy to provide more information if needed, and thanks for reading.\r\n"}}