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 · 1 comment
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
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

3 participants