theia: Creating a terminal in a basic (Hello World) Theia app hangs the app

Bug Description:

A basic Theia app hangs when you try to create a terminal on Windows…but only if you launch the app via the VS Code launch configuration.

git clone -b master https://github.com/jcortell68/theiasandbox
cd theiasandbox
yarn
yarn rebuild:electron
code .
  1. In VS Code, launch the Theia app using Start Electron Backend. Don’t start a debug session; use Run Without Debugging
  2. Create a terminal via Terminal > New Terminal Note that a terminal seems to appear (without a prompt) but the Theia app/UI is completely hung at that point.

Interestingly, the problem does not happen if you launch the app from the terminal using yarn start:electron

Additional Information

  • Operating System: Windows
  • Theia Version: 1.39

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 19 (17 by maintainers)

Most upvoted comments

@vince-fugnitto Yeah. I just realized the issues with the setup a little while ago. I tried building from a fresh git clone and ran into them. I’m sorting that out now. But I don’t think the issue is fixed by the pull request you mention, as I have that change in other branches in my repo and I think I can reproduce the problem there. Anyway, let me clean this all up and I’ll post and update here shortly

@jcortell68 I use LICEcap for the GIF recordings: https://www.cockos.com/licecap/

Thanks for confirming! I’ll adjust the ticket title and description and reopen it

@vladarama Thanks. That got me thinking. I tried to reproduce the issue, but this time closed the workspace in the Theia app. Sure enough, it works now. I tried opening a different workspace. Still works. So I’m guessing there was something funky in the workspace that Theia was opening earlier. Unfortunately, I don’t remember what directory that was. But needless to say, we can close this ticket. Thanks guys!

@jcortell68 I just tried reproducing the bug on Windows and everything seems to work fine. Demo: terminal hanging