-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Using IME with markdown preview enabled, press ESC/BACKSPACE leads in control characters #37114
Comments
It only happens when you are previewing the markdown content, which means it's caused by the webview. |
It turns out that when we preview the md content, the webview will lead to the problem as described in #24981 (you need to double backspace to delete characters). This problem was introduced in Electron 1.5.x, fixed by backporting in 1.6.x, apparently they forgot to backport the fix in 1.7.x. Ideally this can be fixed once we adopt 1.8.x. More info electron/electron#9173 (comment) , cc @bpasero @Tyriar |
From my observation, this issue only triggers as long as I have more than one editor opened, or have the side bar extended. This issue goes away immediately after the closing all the extra editors AND the sidebar, however reoccurs after the extension of side bar or the opening of extra editors. More IMEs and file type could be affected. The built-in Japanese IME of macOS is affected, and TeX(.tex) files are also affected.
|
any update? |
+1 |
similar issue here: |
Open User Setting, then add |
similar mistakes happened in the latex edit scene |
+1 same problem |
It seems the problem is triggered by previewing. For latex, I tried to avoid it by setting external pdf viewer. |
@rebornix is there any issue created in the electron repo on the problem on version 2.0.12 ? Or has it been fixed? It seems the original issue electron/electron#9173 has been closed due to unsupported version. |
I tested in 2.0.12 with Electron Fiddle as suggested by electron/electron#9173 (comment), and the issue seems not reproducible in this Electron version. Am I testing it in a wrong way? |
@tete1030 thanks for your help! I already left comment there ;) The trick is only input outside of the webview is running into this weird issue. |
+1 The same problems when using the Chinese input methods and opening the Markdown Preview Enhanced |
same problem exists in 1.30.0, but it seems to be fixed in insiders(1.31.0). |
Really? My VSCode still has this problem. macOS 10.14.1 After I typed some word and deleted them, the bug was reproduced. |
I tried it again, and then this problem was reproduced. |
The same issue can be reproduced on macOS 10.14.2 with default Chinese IME.😅 |
The same issue can be reproduced on macOS 10.14.2 too. It is is so disturbing. When will it be fixed? |
@kouhei @0x4f5da2 @He2hiwei do you mind sharing more details about the version of VSCode you are using and steps to reproduce? Example:
The reason I asked for you help on this as I can't reproduce this bug anymore. If the issue is still there someway, I'll look into it and get it fixed. The bug existed for too long and we need to give it an end but I need more info ;) |
Hi @rebornix |
It's happening not only in editor but also in VSCode's every input field (I believe). I used VSCode's built-in Git extension and submitted a commit message in it, and somewhere in my final commit message appears a � on GitHub. |
Maybe this bug has been fixed. Now I donot meet this bug any more. |
Issue is still reproduced with Version: 1.38.1 |
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/ |
The bug seems to be fixed in recent nightly insider builds. Version: 1.40.0-insider |
Awesome, thanks for trying. Can others confirm too? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Steps to Reproduce:
HINT: You may need to enable
editor.renderControlCharacters
in order to see what happens, or the control characters is invisible.Just see the screenshot for example:
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: