Open kittaakos opened 5 years ago
I can easily reproduce this error when trying to go to the definition of some snippets.
I get the same error when I try to rename a file which is in the preview state;
Open the file in preview mode, then select "Rename" from the context menu in the explorer view.
ERROR:
root ERROR Error: Reference widget is not in the layout.
at DockLayout.../../node_modules/@phosphor/widgets/lib/docklayout.js.DockLayout.addWidget (http://localhost:3000/bundle.js:14840:19)
at TheiaDockPanel.../../node_modules/@phosphor/widgets/lib/dockpanel.js.DockPanel.addWidget (http://localhost:3000/bundle.js:16410:25)
at TheiaDockPanel.../../packages/core/lib/browser/shell/theia-dock-panel.js.TheiaDockPanel.addWidget (http://localhost:3000/bundle.js:125500:36)
at ApplicationShell.
I can confirm that @lmcbout's instructions still produce an error in the console, and the widget whose underlying file has been renamed disappears from the shell, even if close-on-delete is set to false.
I do not know how to reproduce it.