Skip to content
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

Not all plots are shown in the history after a UI reload #6036

Open
timtmok opened this issue Jan 17, 2025 · 0 comments
Open

Not all plots are shown in the history after a UI reload #6036

timtmok opened this issue Jan 17, 2025 · 0 comments
Labels
area: plots Issues related to Plots category.

Comments

@timtmok
Copy link
Contributor

timtmok commented Jan 17, 2025

System details:

Positron and OS details:

Positron Version: 2025.02.0 (Universal) build 48
Code - OSS Version: 1.95.0
Commit: f339e73
Date: 2025-01-14T05:36:37.147Z
Electron: 32.2.1
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0

Interpreter details:

Use both R and Python

Describe the issue:

When there are multiple plots rendered from multiple language runtimes, they don't all restore after a UI reload. All plots are connected to their comms and restore as far as the plots service is concerned. It's just the event to refresh the history filmstrip that only reacts to the first runtime's plots.

Steps to reproduce the issue:

  1. Render two plots with R
  2. Render a plot with Python
  3. Reload the UI (refresh the page if web, invoke Reload Window if desktop)
Screen.Recording.2025-01-17.at.12.03.59.PM.mov

The video shows three plots at the start (two R, one Python). A window reload is initiated and shows only two plots after everything is restored. Switching to a different plot then shows the Python plot in the filmstrip.

This only seems to occur when there's more than one R plot. As long as there is more than one R plot, a reload will not show the Python plots in the history filmstrip.

Expected or desired behavior:

All plots show up in the history filmstrip of the Plots view.

Were there any error messages in the UI, Output panel, or Developer Tools console?

@timtmok timtmok added the area: plots Issues related to Plots category. label Jan 17, 2025
@timtmok timtmok added this to the Release Candidate milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: plots Issues related to Plots category.
Projects
None yet
Development

No branches or pull requests

1 participant