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

In a notebook, unable to save changes to layers with LeafMap #5520

Open
testlabauto opened this issue Nov 26, 2024 · 0 comments
Open

In a notebook, unable to save changes to layers with LeafMap #5520

testlabauto opened this issue Nov 26, 2024 · 0 comments
Labels
area: notebooks Issues related to Notebooks category.

Comments

@testlabauto
Copy link
Contributor

System details:

Positron and OS details:

Positron Version: 2024.12.0 (Universal) build 80
OSX

Interpreter details:

Python 3.10.12

Describe the issue:

Using (LeafMap section):
Plots and Widgets Notebook

Image

Unable to save layer edits (see repro steps).

Steps to reproduce the issue:

  1. Run the LeafMap section of Plots and Widgets Notebook
  2. Draw a rectangle on it
  3. Click the trash can icon
  4. Click the rectangle
  5. Attempt to save changes
  6. Note that small popup with Save/Cancel/Clear All does not go away

Expected or desired behavior:

Expected to be able to delete an added layer.

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

index.html?id=183780…otebookRenderer:332 Uncaught DOMException: Failed to execute 'postMessage' on 'MessagePort': function(t){return t?.properties.style} could not be cloned.
at HostMessaging.postMessage (vscode-webview://1a3g1f34slfks2msbo01jueqa7ivgk56tlpuogagf5008lb6bmj5/index…arentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:332:24)
at (vscode-webview://1a3g1f34slfks2msbo01jueqa7ivgk56tlpuogagf5008lb6bmj5/index…rentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=notebookRenderer:1314:21)
at doPostMessage (:5:8)
at Object.postMessage (:19:10)
at postNotebookMessage (notebookWebviewPreloads.js:2314:20)
at context.postMessage (notebookWebviewPreloads.js:1550:54)
at yg.postMessage (https://file+.vscode-resource.vscode-cdn.net/Applications/Positron.app/Cont…ources/app/extensions/positron-ipywidgets/renderer/media/index.js:89:11322)
at qc.send (https://file+.vscode-resource.vscode-cdn.net/Applications/Positron.app/Cont…sources/app/extensions/positron-ipywidgets/renderer/media/index.js:89:5769)
at Lo.send (https://file+.vscode-resource.vscode-cdn.net/Applications/Positron.app/Cont…urces/app/extensions/positron-ipywidgets/renderer/media/index.js:73:200705)
at Mo.send (https://file+.vscode-resource.vscode-cdn.net/Applications/Positron.app/Cont…urces/app/extensions/positron-ipywidgets/renderer/media/index.js:73:206759)

@testlabauto testlabauto added the area: notebooks Issues related to Notebooks category. label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: notebooks Issues related to Notebooks category.
Projects
None yet
Development

No branches or pull requests

1 participant