ITISFoundation / osparc-issues

🐼 issue-only repo for the osparc project
3 stars 5 forks source link

FilePicker does not automatically select the file when connecting to Jupyter #245

Closed ghost closed 2 years ago

ghost commented 4 years ago

Long story short

If you drag a file into the workspace it creates a Filepicker instance with one file. This can be directed into a Jupyter Notebook. However the first time you do this it, the Filepicker's file will say 'file: null'. In order for the file to appear, you have to back out, click the Filepicker, select the only file, and then go back into Jupyter.

This is probably hard to follow but I can easily show it interactively in a second.

Expected behaviour

FilePicker automatically presents the correct file when first used.

Actual behaviour

FilePicker presents 'null' file by default and the only file must be again re-selected from the workspace to appear.

Steps to reproduce

Happy to demo upon request. It is 100% reproducible.

Note: your environment was attached but will not be displayed