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

Editing locked after creating variable name with the same name. #36

Open
Charles-Tang opened this issue Nov 20, 2021 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Charles-Tang
Copy link

Charles-Tang commented Nov 20, 2021

当尝试更改变量名称时发生错误

当我尝试更改变量名称时,我不小心将名称与另一个变量设成一样,软件提示已经有这个变量了,当我重新尝试修改的时候,无法在输入框中输入任何内容,创建变量的窗口也无法输入任何内容

When I try to change the variable name, I accidentally set the name to be the same as another variable, the software prompts that the variable already exists, and when I try to modify it again, I cannot enter anything in the input box, creating a window for the variable also can't enter anything

@zhengyangliu zhengyangliu transferred this issue from openblockcc/openblockcc.github.io Dec 23, 2021
@zhengyangliu zhengyangliu added the bug Something isn't working label Jan 2, 2022
@zhengyangliu
Copy link
Contributor

确实有这个问题,这是由于electron在win10后系统的一个bug导致,出现这个问题后,你可以将光标移动到软件外部点击聚焦其他内容,然后在回到软件中重新输入即可,不过同时我们会修复这个问题的。

@zhengyangliu zhengyangliu changed the title 当尝试更改变量名称时发生错误 Editing locked after creating variable name with the same name. Mar 8, 2022
@zhengyangliu
Copy link
Contributor

These problems all stem from the same bug: electron/electron#20400 (comment). Under the windows system, the render thread inside the electron cannot use the altert popup window. We've fixed some of this before: dcf119b, but didn't notice that alerts are also used in blocks, Now we need to put the alert from blocks to vm->gui->electron to fix this bug.

@zhengyangliu zhengyangliu self-assigned this Mar 8, 2022
zhengyangliu added a commit that referenced this issue Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants