Skip to content

[Bug] Open the work from the file local under windows10, the input box loses focus. #215

Open
@brucebnu

Description

@brucebnu

Expected Behavior

Open the work Load from your computer on windwos10, delete the value in the input box, and repeat the input. should be fine.

Actual Behavior

Open the work from the local under windwos10, delete the value in the input box, and repeat the input. The cursor will lose focus, and the value of the block input box cannot be edited. Minimize the window, open the window again, return to normal, and the cursor can blink to edit the value.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a simple work in code with building block values for events, motion or Control.
  2. File->Save to your computer “Scratch Project.sb3”
  3. Load from your computer “Scratch Project.sb3”, Replace contents of the current project? yes
  4. Click or double-click to select all to repeatedly edit the value. will lose the cursor focus and cannot be edited.
  5. If the bug recurs, minimize the window and open it again.

System Details

windwos 10
Scratch 3.27.0 Setup.exe
Scratch 3.19.2 Setup,exe

Screenshots
If applicable, add screenshots to help explain your problem.
image

Bug reproduce screen recording
https://youtube.com/shorts/huUgbtp2Bxw?feature=share

** refer to **
the input-box lose focus after call window.alert('...') #19977
electron/electron#19977

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions