jupyterlab-spreadsheet-editor
jupyterlab-spreadsheet-editor copied to clipboard
Saving a CSV file also downloads it when the spredsheet is focused
trafficstars
Description
Reproduce
- Using your favorite package manager, install
jupyterlaband this extension, e.g.,pixi init && pixi add jupyterlab jupyterlab-spreadsheet-editor - Start JupyterLab with
jupyter lab - Create a CSV file called
test.csvand open it - Edit the CSV file, select any cell, and then use the save shortcut, e.g.
Ctrl + S - The file gets saved and downloaded. The downloaded filename has an additional
.csvsuffix, i.e.,test.csv.csv
Expected behavior
This happens because the jspreadsheet-ce package uses the same shortcut JupyterLab uses to save a file, but it instead downloads it. Ideally, using JupyterLab's save shortcut shouldn't also download the file.
Context
- Python package version: 3.12
- Extension version: 0.7.1