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

Download screenshot contextual menu item is broken #6023

Closed
gonfunko opened this issue Mar 23, 2022 · 1 comment
Closed

Download screenshot contextual menu item is broken #6023

gonfunko opened this issue Mar 23, 2022 · 1 comment

Comments

@gonfunko
Copy link
Contributor

Describe the bug

The Download Screenshot contextual menu item (on the workspace) is broken in the develop branch.

To Reproduce

  1. Open the playground on the develop branch
  2. Add some blocks
  3. Right click on the workspace and choose the Download Screenshot contextual menu item.

Expected behavior
A screenshot of the workspace is downloaded. Instead, the following is logged to the console and nothing visibly happens:

playground.html?dir=rtl&toolbox=categories:245 Uncaught TypeError: Blockly.downloadScreenshot is not a function
    at Object.callback (playground.html:245:15)
    at Object.actionHandler (:8080/core/contextmenu.js:158:16)
    at MenuItem.performAction (:8080/core/menuitem.js:276:12)
    at Menu.handleClick_ (:8080/core/menu.js:387:16)
    at HTMLDivElement.wrapFunc (:8080/core/browser_events.js:86:14)
@gonfunko gonfunko added the issue: triage Issues awaiting triage by a Blockly team member label Mar 23, 2022
@BeksOmega
Copy link
Collaborator

Note that we should probably fix this, but if it breaks its fine. The download screenshot thing isn't something we actually provide, it was just a prototype sam built.

@maribethb maribethb removed the issue: triage Issues awaiting triage by a Blockly team member label Feb 22, 2023
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

3 participants