-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[JetBrains] Task should be stopped when closing terminal tab #12126
Comments
Currently, there's no way to detect when a terminal is closed from the Thin Client, and there's also no way to programmatically close the terminal widget on the Thin Client. References: Internal Discussion, Issue on YouTrack. |
It has been fixed on JetBrains IDEs v223 (Current EAP) [1]. It worked like a charm, but now, when we close JetBrains EAP Client (by clicking "X" button in the client window), it also considers that the terminals all terminal widgets were closed on purpose (which, in our case, causes all Gitpod Task Terminals to be terminated). We now need to try to avoid it from happening. Possibly using Lines 271 to 279 in fd4386a
|
The issue on YouTrack has been marked as resolved, and I could notice an improvement: If we click "X" button in the Connection Window, and then click "Disconnect", it correctly disconnects without closing the terminals. But if we click "X" button in the JetBrains Client, it behaves differently, and the terminals end up closed. |
Is your feature request related to a problem? Please describe
Closing a tab maintains the task alive. It's very confusing when the IDE disconnects temporarly and on-reconnect the tasks which have been closed, are all back.
Related discussions / links
Describe the behaviour you'd like
When the terminal tab "X" button is clicked, the task is stopped
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: