Background tips simply did not turn off.
Closed this issue · 3 comments
I had to open the inspector and disable the background pane. This happened when another extension (vim-mode) had some error in the console.
Now I know that this isn't a direct bug with background-tips but whenever I enabled vim-mode background-tips would misbehave...
Could you provide the error you saw in the console?
Ok. I have clear steps to reproduce now:
- Enable background tips and vim-mode
- Restart the editor
- close all tabs, that shows the tips
- Open any new tab/settings/etc. That still keeps the background tips -
http://imgur.com/OqKaYJo.png
The error is:
TypeError: Cannot call method 'each' of undefined at
VimState.module.exports.VimState.handleCommands
(/Users/anirudh/.atom/packages/vim-mode/lib/vim-state.coffee:121:7) at
VimState.module.exports.VimState.setupCommandMode
(/Users/anirudh/.atom/packages/vim-mode/lib/vim-state.coffee:68:6) at new
VimState (/Users/anirudh/.atom/packages/vim-mode/lib/vim-state.coffee:24:6)
at /Users/anirudh/.atom/packages/vim-mode/lib/vim-mode.coffee:10:33 at
HTMLDivElement.attachedCallback
(/Applications/Atom.app/Contents/Resources/app/src/workspace-view.js:458:16)
at HTMLDivElement.jQuery.event.dispatch
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4676:9)
at HTMLDivElement.elemData.handle
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4360:28)
at Object.jQuery.event.trigger
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4594:12)
at HTMLDivElement.
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5119:17)
at Function.jQuery.extend.each
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:590:23)
at EditorView.jQuery.fn.jQuery.each
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:237:17)
at EditorView.jQuery.fn.extend.trigger
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5118:15)
at EditorView.module.exports.EditorView.afterAttach
(/Applications/Atom.app/Contents/Resources/app/src/editor-view.js:1063:19)
at callAttachHook
(/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:323:107)
at [object Object].jQuery.fn.(anonymous function) as append
at PaneView.module.exports.PaneView.onActiveItemChanged
(/Applications/Atom.app/Contents/Resources/app/src/pane-view.js:284:24) at
/Applications/Atom.app/Contents/Resources/app/src/pane-view.js:3:61 at
/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:134:30
at Array.forEach (native) at Behavior.module.exports.Emitter.emit
(/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:133:47)
at Behavior.module.exports.Behavior.emit
(/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/behavior.js:44:38)
at Behavior.module.exports.Signal.emitValue
(/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/signal.js:82:19)
at Pane.module.exports.Model.set
(/Applications/Atom.app/Contents/Resources/app/node_modules/theorist/lib/model.js:166:21)
at Pane.accessor.set
(/Applications/Atom.app/Contents/Resources/app/node_modules/theorist/lib/model.js:57:23)
at Pane.module.exports.Pane.activateItem
(/Applications/Atom.app/Contents/Resources/app/src/pane.js:177:32) at
/Applications/Atom.app/Contents/Resources/app/src/workspace.js:187:16 at
_fulfilled
(/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:797:54)
at self.promiseDispatch.done
(/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch
(/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:759:13)
at /Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:820:14
at flush
(/Applications/Atom.app/Contents/Resources/app/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:605:11)
On Fri, Feb 28, 2014 at 1:31 AM, Kevin Sawicki notifications@github.comwrote:
Could you provide the error you saw in the console?
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-36284562
.
Co-founder and Developer, RazorFlow
http://razorflow.com
I think this is due to the error being thrown by the Vim package