pieces-app / support

11 stars 1 forks source link

Extension Panel for Pieces in VS Code Crashes if Pieces Desktop is Opened Before Launching VS Code #285

Open EveCrystali opened 1 week ago

EveCrystali commented 1 week ago

Software

Desktop Application, VS Code

Operating System / Platform

Windows

Your Pieces OS Version

9.0.7

Early Access Program

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

Bug Report: Panel Crash with Pieces Desktop Extension

Description

The extension panel for Pieces Desktop crashes in VS Code, causing other extensions to crash as well when the Pieces Desktop application is launched before opening VS Code.

Steps to Reproduce

  1. Launch the Pieces Desktop application.
  2. Open VS Code.
  3. Observe the panel crash for the Pieces Desktop extension, followed by crashes of other extensions.

Expected Behavior

The Pieces Desktop extension should load properly in VS Code regardless of whether the Pieces Desktop application is already running or not. Other extensions should remain unaffected.

Actual Behavior

When the Pieces Desktop application is launched before opening VS Code, the extension panel for Pieces Desktop crashes, causing other extensions to crash as well.

Environment

Logs

Erreur de chargement de la vue web : Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

2024-07-03 11:01:59.041 [warning] Provider for scheme 'explainedPiecesSnippetPreview' is firing event for schema 'piecesSnippetPreview' which will be IGNORED

Thank you for your attention to this matter.

caleb-at-pieces commented 1 week ago

Hello @EveCrystali ! Thank you so much for pointing this out! Within the next day or so I will be able to take a look into this, and should be able to work a fix in for this soon!

Thanks again, and also: fantastic bug report! Super detailed!