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

Add a button to download the project if web player fails to load #9605

Open
pumpkinhasapatch opened this issue Jun 5, 2024 · 1 comment
Open

Comments

@pumpkinhasapatch
Copy link

pumpkinhasapatch commented Jun 5, 2024

Expected Behavior

When opening a Scratch project in a browser that has disabled or does not support all the features Scratch needs to work, show a button or link to download the project files as .sb3 to use in external software like Scratch Desktop.

Actual Behavior

Project shows a blank white image in the project player, and a "Your Browser Does Not Support WebGL", "Your Browser is not Supported" or similar error message when clicking the See Inside button that covers all other menus and elements on the page.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to any Scratch project "https://scratch.mit.edu/projects/104" on the Scratch website on a web browser that does not support WebGL (see below)
  2. Click on "See Inside"
  3. See the "Your Browser Does Not Support WebGL" error
  4. File menu and other elements are obscured by the error and blue background with no way to download or use the project

System Details

Operating System: Fedora Linux 40 (Workstation Edition)
Browser: LibreWolf (Firefox) 126.0.1-1

I use LibreWolf as my default desktop web browser, a fork of Firefox with some settings and features changed for better security. This desktop web browser disables WebGL and canvas images by default, so it causes issues with the Scratch project player and editor. This might also cause issues with mobile devices, iPads or older browsers.

I would like to download Scratch projects through this browser and open them in Scratch Desktop or another application that can properly run them.

Screenshots
image

If I remove the error modal using developer tools, I can still use the Scratch project editor but with no Stage to run the project. It is possible to download the project normally through the File menu in the top-left corner. It would be nice to move the "Save to your computer" button to be accessible from the error modal so we can still use the project from the Scratch app if the web version fails to load for some reason.
Screenshot from 2024-06-05 21-54-53

@pumpkinhasapatch pumpkinhasapatch changed the title No option to download project if using a Unsupported Browser Add a button to download the project if web player fails to load Jul 28, 2024
@UCYT5040
Copy link

UCYT5040 commented Aug 5, 2024

@chrisgarrity I can work on this if it is ready for a PR. I would add a "Save project to your computer" button to the left of the back button.

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