If you work with few projects same time this plugin give you the opportunity to change your workspace faster. Save your workspace, all your opened tabs, cursor position, etc. for each task you are working with.
MIT License
23
stars
5
forks
source link
Error when opening saved workspace with 2 panes #13
This throws an error that the pane was destroyed and all files opened in right pane are all now on the left pane. Also, when switching from one workspace to another, the original workspace's files are still open.
Atom Version: 1.13.1
Electron Version: 1.3.13
System: Mac OS X 10.12.2
Thrown From: save-workspace package, v0.2.9
Stack Trace
Uncaught Error: Pane has been destroyed
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:832
Error: Pane has been destroyed
at Pane.module.exports.Pane.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:832:15)
at Pane.module.exports.Pane.focus (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:240:21)
at atom-pane.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:50:23)
at HTMLInputElement.trigger (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4596:11)
at Object.trigger (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4316:60)
at HTMLInputElement.<anonymous> (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4901:17)
at Function.each (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:374:23)
at jQuery.each (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:139:17)
at jQuery.trigger [as originalTrigger] (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4900:15)
at jQuery.$.fn.trigger (/Users/Glenn/.atom/packages/save-workspace/node_modules/space-pen/lib/space-pen.js:606:19)
at jQuery.fn.(anonymous function) [as focus] (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:7487:9)
at SelectSavedWorkspaceView.module.exports.SelectListView.restoreFocus (/Users/Glenn/.atom/packages/save-workspace/node_modules/atom-space-pen-views/lib/select-list-view.js:327:70)
at SelectSavedWorkspaceView.close (/Users/Glenn/.atom/packages/save-workspace/lib/select-saved-workspace-view.js:36:10)
at SelectSavedWorkspaceView.cancelled (/Users/Glenn/.atom/packages/save-workspace/lib/select-saved-workspace-view.js:48:10)
at SelectSavedWorkspaceView.module.exports.SelectListView.cancel (/Users/Glenn/.atom/packages/save-workspace/node_modules/atom-space-pen-views/lib/select-list-view.js:263:14)
at atom-text-editor.<anonymous> (/Users/Glenn/.atom/packages/save-workspace/node_modules/atom-space-pen-views/lib/select-list-view.js:76:26)
at atom-text-editor.dispatch (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4435:9)
at atom-text-editor.elemData.handle (/Users/Glenn/.atom/packages/save-workspace/node_modules/jquery/dist/jquery.js:4121:28)
at atom-text-editor.TextEditorElement.inputNodeBlurred (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:239:21)
at atom-pane.PaneElement.activated (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-element.js:113:19)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
at Pane.module.exports.Pane.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:837:27)
at PaneContainer.module.exports.PaneContainer.activateNextPane (/Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:252:26)
at Pane.module.exports.Pane.destroyed (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:858:24)
at Pane.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/model.js:31:58)
at Pane.module.exports.Pane.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:851:39)
at Workspace.open (/Users/Glenn/.atom/packages/save-workspace/lib/models/workspace.js:14:17)
at Open.<anonymous> (/Users/Glenn/.atom/packages/save-workspace/lib/commands/open.js:18:22)
at SelectSavedWorkspaceView.confirmed (/Users/Glenn/.atom/packages/save-workspace/lib/select-saved-workspace-view.js:42:10)
at SelectSavedWorkspaceView.module.exports.SelectListView.confirmSelection (/Users/Glenn/.atom/packages/save-workspace/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Users/Glenn/.atom/packages/save-workspace/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:587:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:382:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)
[Enter steps to reproduce below:]
This throws an error that the pane was destroyed and all files opened in right pane are all now on the left pane. Also, when switching from one workspace to another, the original workspace's files are still open.
Atom Version: 1.13.1 Electron Version: 1.3.13 System: Mac OS X 10.12.2 Thrown From: save-workspace package, v0.2.9
Stack Trace
Uncaught Error: Pane has been destroyed
Commands
Config
Installed Packages