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

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

Open
brucebnu opened this issue Jan 10, 2022 · 2 comments

Comments

@brucebnu
Copy link

brucebnu commented Jan 10, 2022

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

@brucebnu brucebnu changed the title Open the work from the file local under windows10, the input box loses focus. [Bug] Open the work from the file local under windows10, the input box loses focus. Jan 12, 2022
@apple502j
Copy link
Contributor

Related to #112

@brucebnu
Copy link
Author

What is the cause of this problem, under Windows 10?
Are importing, exporting project files, recycling and events buggy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants