Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node process freezes when text is selected in command line #39027

Open
reverofevil opened this issue Jun 13, 2021 · 3 comments
Open

Node process freezes when text is selected in command line #39027

reverofevil opened this issue Jun 13, 2021 · 3 comments
Labels
windows Issues and PRs related to the Windows platform.

Comments

@reverofevil
Copy link

reverofevil commented Jun 13, 2021

  • Version: v16.2.0
  • Platform: Windows 10
  • Subsystem: -

What steps will reproduce the bug?

  • Run any Node.js script: an http-server or long-running npm install.
  • Select text in console window.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

Node process should never freeze due to text selection in terminal, same as desktop application UI threads should never stop execution of application.

What do you see instead?

Server doesn't respond to requests, npm installation freezes. Whole node process does nothing.

Additional information

This is Windows-specific problem that I encountered by interacting with terminal window in a different way more than 3 years ago. Given that it's very easy to start selection on Windows just by clicking a terminal window (while switching windows, for example), it's very common to find a long-running script doing nothing after several minutes of waiting for progress. I think this is a serious UX issue.

@Trott
Copy link
Member

Trott commented Jun 13, 2021

@nodejs/platform-windows

@targos
Copy link
Member

targos commented Jun 14, 2021

This seems to only happen with conhost.exe.

@nikikalwar
Copy link

Hi All, I am interested with node process object, can I pick this up for investigation?

@targos targos added the windows Issues and PRs related to the Windows platform. label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

4 participants