Skip to content

Switching between blok and script view can cause all code erasure #98

@Pascal-Flores

Description

@Pascal-Flores

I am not sure how this happens, but I think that this bug happens when the view switch is made during translation between code and script. Indeed, for small scripts (10 - lines) the problem doesn't seem to appear but on larger scripts (30+ lines) the problem occurs often.

Steps to reproduce the behavior:

  1. Copy paste a long enough script in the makecode editor
  2. switch from script view to block view, switch fast enough again on the script view and then again on the block view : the simulator must not have finished loading during this phase
  3. Code should be gone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions