Skip to content

alert or confirm makes Scratch Desktop unable to receive input #112

@apple502j

Description

@apple502j

Expected Behavior

You can type on input

Actual Behavior

If alert() or confirm() is executed, you cannot type on inputs anymore, until you blur and re-focus the window. This only happens in Scratch Desktop 3.9.0.

Steps to Reproduce

There are three ways to get into this state:

  1. Do something (so that opening a project gives warning), open a project, click ok
    • Click load from computer, open a file that is not sb3 (like a txt), and get invalid project alert
    • Disable mic via privacy setting and try to record voice
  2. After doing one of them, try editing the sprite info (sprite name) or variable name.
  3. You can't type, but can paste.
  4. Choose other window (like firefox or notepad) and focus Scratch Desktop again and you can type again.

Operating System and Browser

Windows 10, Scratch Desktop 3.9.0 (exe)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions