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

[Firefox] Save/Load project buttons error: window.showOpenFilePicker is not a function #161

Open
oiale opened this issue Jan 19, 2024 · 1 comment

Comments

@oiale
Copy link

oiale commented Jan 19, 2024

Steps to reproduce:

  1. Go to https://zalo.github.io/CascadeStudio/ using Firefox v121+
  2. Click 'Save Project' or 'Open Project'
  3. Nothing happens, and console shows the following error:
Uncaught (in promise) TypeError: window.showOpenFilePicker is not a function
    getNewFileHandle https://zalo.github.io/CascadeStudio/js/MainPage/CascadeMain.js:535
    loadProject https://zalo.github.io/CascadeStudio/js/MainPage/CascadeMain.js:589
    onmouseup https://zalo.github.io/CascadeStudio/:1

Interestingly, the button 'Import STEP/IGES/STL' works correctly and shows a dialog.
Turning ublock on/off shows no difference.
Tested on

MacOS 14.2.1
Firefox 121.0
Windows 10 22H2
Firefox 121.0.1
@hadess
Copy link

hadess commented Feb 8, 2024

Ran into the same problem trying to load https://www.printables.com/model/425966-parametric-sliding-lid-box
Same symptoms. Worked in Google Chrome in a pinch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants