Skip to content

v0.2.2: Explorer sidebar collapses after switching away from HDF5 editor tab #2043

Description

@cychow2

Describe the bug

In vscode-h5web 0.2.2, the H5Web Explorer sidebar disappears after switching to another VS Code editor tab and then switching back to the HDF5 tab.

This happens consistently for me on both:

  • Ubuntu VS Code
  • Windows VS Code connected to WSL

Downgrading to vscode-h5web 0.2.1 fixes the issue completely.

To Reproduce

  1. Install h5web.vscode-h5web version 0.2.2.
  2. Open an HDF5 file.
  3. Make sure the Explorer sidebar is open.
  4. Switch to another VS Code editor tab.
  5. Switch back to the HDF5 tab.

Expected behaviour

The sidebar should remain open with the same width when switching away from and back to the HDF5 editor tab.

Version comparison

vscode-h5web 0.2.2:

  • Issue occurs consistently.

vscode-h5web 0.2.1:

  • Issue does not occur.

Since 0.2.2 upgrades H5Web from v16 to v17 and includes the new resizable/persistent sidebar behavior, this may be a regression related to the new sidebar/layout implementation.

Context

  • OS: Ubuntu; Windows with WSL
  • Browser: VS Code webview
  • Version: vscode-h5web 0.2.2
  • H5Web context: @h5web/app

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions