Skip to content

Face sensing can get stuck in the project (also the translate extension) #352

@nimeratus

Description

@nimeratus

Expected Behavior

When all face sensing blocks and monitors have been removed, the face sensing extension is deleted from the project after reloading.

Actual Behavior

The project still loads the extension and turns on the camera. If the project also has cloud variables, they are disabled, but the warning text isn't shown on the project page.
https://scratch.mit.edu/projects/1225257855/

Steps to Reproduce

  1. Go to 'https://scratch.mit.edu/projects/editor'
  2. Add Face Sensing
  3. Show the "face tilt" monitor
  4. Move it slightly
  5. Hide the monitor
  6. Save and reload

It also works with the translate extension and the "language" reporter, but the face sensing has much more impact when it's stuck.

I think the bug happens because the monitor stays in the JSON so that Scratch can remember its position. This makes Scratch load the extension, even though the monitor is hidden.

System Details

I've tested it on Windows 10, Chrome 141

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe Scratch team has verified that this is indeed a bug/defect, probably by reproducing the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions