Failed to handle key=<BS>. TextEditor(vs.editor.ICodeEditor:1,$model1) has been disposed
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
VSCodeVim version: 1.17.0
Stack trace
DISPOSED: TextEditor(vs.editor.ICodeEditor:1,$model1) has been disposed
at Object.t.disposed (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:52:934)
at e.$tryApplyEdits (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3520:448)
at g._doInvokeHandler (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3577:1013)
at g._invokeHandler (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3577:705)
at g._receiveRequest (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3576:344)
at g._receiveOneMessage (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3575:141)
at file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3573:311
at c.fire (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:115:286)
at v.fire (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:372:826)
at t.PersistentProtocol._receiveMessage (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:377:276)
at file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:374:357
at c.fire (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:115:286)
at g.acceptChunk (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:370:344)
at file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:369:696
at Socket.t (file:///private/var/folders/g8/7b7vtb0s1msdl48nhw1mpd4h0000gn/T/AppTranslocation/7F493AC0-4AAF-48A1-9532-1C8A8BD9C185/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:380:450)
at Socket.emit (events.js:200:13)
at addChunk (_stream_readable.js:294:12)
at readableAddChunk (_stream_readable.js:275:11)
at Socket.Readable.push (_stream_readable.js:210:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:166:17)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the failure with VSCodeVim 1.17.0 and inspect the extension's handling of that key while the VS Code TextEditor is being disposed, using the supplied stack trace as context. Done means the reproduction no longer raises the disposed-editor error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100