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

"default:replacePreviousChar" causes text jitter during IME composition #211856

Open
xiyaowong opened this issue May 2, 2024 · 3 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-input-IME Editor input of characters not on keyboard VIM VIM issue windows VS Code on Windows issues

Comments

@xiyaowong
Copy link

Does this issue occur when all extensions are disabled?: Yes


Version: 1.89.0-insider
Commit: b58957e
Date: 2024-05-01T02:05:10.904Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.89.0-insider Chrome/120.0.6099.291 Electron/28.2.8 Safari/537.36


Forwarding the arguments of replacePreviousChar to default:replacePreviousChar causes text jitter during ime composition.

Code to reproduce the issue:

vscode.commands.registerCommand("type", (type) => {
    vscode.commands.executeCommand("default:type", type);
});
vscode.commands.registerCommand("replacePreviousChar", (args) => {
    vscode.commands.executeCommand("default:replacePreviousChar", args);
});

GIF:

  • OK
    ok

  • NG
    ng

@theol0403
Copy link

Related: #156780 #150108 (and from a quick search there are more)

@alexdima alexdima added editor-input-IME Editor input of characters not on keyboard bug Issue identified by VS Code Team member as probable bug VIM VIM issue windows VS Code on Windows issues labels Jun 4, 2024
@aiday-mar aiday-mar self-assigned this Sep 5, 2024
@aiday-mar
Copy link
Contributor

Hi @xiyaowong thank you for filing this issue. I am currently trying to reproduce this issue, but after having configured neovim, I get the following issue 'neovim gets disconnected' as soon as I reload the window. I saw that in the past two weeks quite a few people have filed this issue to the neovim repo. It would seem like this is an upstream vim issue?

Screen.Recording.2024-09-09.at.11.07.34.mov

@xiyaowong
Copy link
Author

@aiday-mar "Neovim gets disconnected" is an upstream issue with Neovim, but it is unrelated to this issue. The jitter problem mentioned in this issue has been longstanding, and it also occurs with vscodevim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug editor-input-IME Editor input of characters not on keyboard VIM VIM issue windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

4 participants