Skip to content

Fixed editors being blank if reconnect setting is "never"#3089

Open
sebjulliand wants to merge 1 commit intomasterfrom
fixCloseEditorsLeftOpened
Open

Fixed editors being blank if reconnect setting is "never"#3089
sebjulliand wants to merge 1 commit intomasterfrom
fixCloseEditorsLeftOpened

Conversation

@sebjulliand
Copy link
Member

Changes

Following up #3058
When the Auto Reconnect setting is set to never, editors left opened would remain opened and blank.

This PR fixes this so this editors are correctly closed on startup.
It also fix a crash that can happen when the setting is set to ask and the user closes the notification: the editor tab may show an error instead of being closed.

How to test this PR

  1. Set the Auto reconnect setting to never
  2. Connect and open a streamfile or a member
  3. Reload VS Code window
  4. The editor(s) must be closed on startup
  5. Set the Auto reconnect setting to ask
  6. Connect and open a streamfile or a member
  7. When the notification offerring to reconnect shows up, close it (do not reconnect)
  8. The editors must be closed

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand added this to the 3.0.0 milestone Feb 25, 2026
@sebjulliand sebjulliand requested a review from a team February 25, 2026 15:44
@sebjulliand sebjulliand self-assigned this Feb 25, 2026
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Feb 25, 2026
@github-actions
Copy link
Contributor

👋 A new build is available for this PR based on d401560.

@sebjulliand sebjulliand marked this pull request as ready for review February 25, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant