dammitjim / atom-panels

I wasn't happy with the way Atom was handling split views, especially in Vim Mode, so I made my own
https://atom.io/packages/atom-panels
MIT License
1 stars 0 forks source link

Uncaught TypeError: Cannot read property 'children' of undefined #3

Closed zastrow closed 6 months ago

zastrow commented 7 years ago

[Enter steps to reproduce:]

  1. Press Command + H to hide Atom on Mac
  2. Atom does not hide, instead this error message came up.

Atom: 1.20.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: atom-panels package 0.4.1

Stack Trace

Uncaught TypeError: Cannot read property 'children' of undefined

At /Users/zastrow/.atom/packages/atom-panels/lib/panels.js:141

TypeError: Cannot read property 'children' of undefined
    at Object.getTargetPane (/packages/atom-panels/lib/panels.js:141:14)
    at Object.move (/packages/atom-panels/lib/panels.js:76:27)
    at /packages/atom-panels/lib/panels.js:35:48)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)

Commands

Non-Core Packages

ariake-dark-syntax 0.1.3 
atom-alignment 0.13.0 
atom-icons 0.2.2 
atom-live-server 2.1.2 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
atom-pair 2.0.12 
atom-panda-syntax 0.18.0 
atom-panels 0.4.1 
atom-react-native-autocomplete 0.0.27 
autoprefixer 3.7.1 
base-16-bright 0.1.4 
base16-atelierdune-dark-syntax 2.0.3 
base16-eighties-dark-syntax 0.1.0 
base16-eighties-one-dark 1.0.0 
busy-signal 1.4.3 
color-picker 2.2.5 
duotone-dark-candy-syntax 2.0.0 
duotone-dark-earth-syntax 2.1.0 
duotone-dark-forest-syntax 2.1.0 
duotone-dark-sea-syntax 2.1.0 
duotone-dark-sky-syntax 2.1.0 
duotone-dark-space-syntax 2.1.0 
duotone-dark-syntax 2.1.0 
duotone-darkpool-syntax 1.1.0 
duotone-dusk-syntax 0.3.0 
duotone-light-syntax 2.1.0 
dvnk-icons 1.8.2 
emmet 2.4.3 
file-icons 2.1.10 
git-projects 1.17.0 
hyperclick 0.1.3 
idiomatic-dark-syntax 0.1.3 
intentions 1.1.5 
language-javascript-jsx 0.3.7 
linter 2.2.0 
linter-eslint 8.2.1 
linter-js-yaml 1.2.7 
linter-markdown 5.1.0 
linter-sass-lint 1.7.4 
linter-scss-lint 3.1.0 
linter-stylelint 4.0.1 
linter-ui-default 1.6.4 
linter-write-good 0.9.0 
minimap 4.29.6 
monocolor-pink-syntax 1.0.0 
no-file-icons 1.0.0 
nucleon 1.0.4 
nuclide 0.243.0 
pigments 0.40.2 
predawn-ui 1.0.7 
princess-syntax 0.1.3 
project-manager 3.3.5 
project-switcher 0.3.0 
seti-icons 1.5.4 
slime 2.1.0 
sort-lines 0.14.0 
tabs-to-spaces 1.0.3 
term3 0.22.1 
toggle-gutter 0.3.3 
tomorrow-night-bright-syntax 0.1.0 
tree-view-git-modified 0.7.3 
tree-view-open-files 0.3.0 
unicorn-ui 1.2.0 
unity-dark-ui 2.0.9 
unity-ui 2.1.11