Skip to content

fix: rendering glitches when a Workspace is stopped #102

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

Merged
merged 2 commits into from
May 2, 2025

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented May 1, 2025

… while an SSH connection is alive.

Toolbox raises a class cast exception when Workspaces are stopped while the SSH connection is running. After the workspace was stopped Toolbox refused to show widget with some weird glitches on the screen.
The fix in this case is to safely disconnect the SSH before sending the stop command to the workspace. The code will wait at most 10 seconds for the disconnect to happen, and only after that send the stop.

…ection is alive

Toolbox raises a class cast exception when Workspaces are stopped while the SSH connection
is running. After the workspace was stopped Toolbox refused to show widget with some weird glitches
on the screen.
The fix in this case is to safely disconnect the SSH before sending the stop command to the workspace.
The code will wait at most 10 seconds for the disconnect to happen, and only after that send the stop.
@fioan89 fioan89 requested review from matifali and f0ssel May 1, 2025 19:46
@fioan89 fioan89 merged commit 9fdd99b into main May 2, 2025
5 checks passed
@fioan89 fioan89 deleted the fix-rendering-glitches branch May 2, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rendering glitches when a workspace is stopped while ssh connection is alive
2 participants