Terminal integration broken

已回答

Hi guys,

I'm experiencing issues with the terminal integration on new versions of Intellij Ultimate: Version 2021.2.X+
I'm currently running: 2021.3.
I have reset to factory default settings.
When the terminal tab is selected, the terminal window is not integrated, it pops out.

The idea.log shows:
When terminal tab is selected: "INFO - .plugins.terminal.TerminalView - Activating Terminal tool window"
When trying to close the popped out terminal: "INFO - indows.conpty.WinConPtyProcess - Failed to terminate process with pid 12744. TerminateProcess failed: GetLastError() returned 6: The handle is invalid."

I've rolled back to version: 2021.1.3 and the issue is not present.
I've also run 2021.2.3 on another machine not on the same organisations network and the issue is not present.
It looks like possibly something has changed in versions 2021.2.X+ that has a conflict with something on my organisations network.

Also just to note that "Shell integration" is checked in settings.

Any help with this would be great.

Regards,

John

0

>When the terminal tab is selected, the terminal window is not integrated, it pops out.

Do you mean when you are trying to open the Terminal tool window it just will not open?

Could you please specify your OS version? The https://youtrack.jetbrains.com/issue/IDEA-283884 might be related.

Could you please upload the idea.log file (Help | Show Log in ... action) after IDE restart and reproducing to https://uploads.jetbrains.com ? Thank you.

If you have antivirus/firewall, please try with it disabled or make sure that IDE settings directories IDE installation home and project files are excluded from the scan.

0

Good morning Andrey,

I've attached an image bellow, I've highlighted the 2 buttons that when pressed should open terminal windows, integrated into the Idea, but instead you can see the button has opened a cmd prompt, not integrated.
This is the same for any terminal, e.g. cmd prompt, powershell, cmder, etc.. and also true for the node integration. 

Unfortunately I have no control over the antivirus or firewall on my machine, however the settings directories do not cause issues on older version of the product.

Upload ID: 2022_01_05_BkeNeamFMVVu5C3L

Windows Specs:
OS: windows 10
Version: 1909
OS build: 18363.1977

0

Thank you for the information. Looks like known issue: https://youtrack.jetbrains.com/issue/IDEA-283773

As a workaround please disable terminal.use.conpty.on.windows registry key (use Help | Find Action | and type Registry to open the dialog).

2

Disabling terminal.use.conpty.on.windows has resolved the issue for me, thank you Andrey. 

0

Disable the Register key of `terminal.use.conpty.on.windows` works for me. thanks

0

请先登录再写评论。