From a0a28081f983f85d86990a333d6a775c1547bce9 Mon Sep 17 00:00:00 2001 From: aohanhongzhi <37319319+aohanhongzhi@users.noreply.github.com> Date: Wed, 17 Jul 2024 01:54:53 +0800 Subject: [PATCH] Fix text appearing twice after Chinese character input (#14558) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release Notes: - Fixed the issue where text appears twice in the editor after Chinese Character input.([linux: Fix IME on fcitx](https://github.com/zed-industries/zed/pull/14508)). Before: ![zed2](https://github.com/user-attachments/assets/e387d70b-ca91-49c8-93e4-850f9e3ef227) After Fixed: ![zed](https://github.com/user-attachments/assets/8307c12f-30a7-4e82-8c65-d0b53bb8cf44) --- crates/gpui/src/platform/linux/x11/client.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/platform/linux/x11/client.rs b/crates/gpui/src/platform/linux/x11/client.rs index fe5b07d3bb291d4eaadd25224964e5c795b50a88..191450538e57878b43b5b9d80d5feb492bce7630 100644 --- a/crates/gpui/src/platform/linux/x11/client.rs +++ b/crates/gpui/src/platform/linux/x11/client.rs @@ -986,7 +986,6 @@ impl X11Client { })); } - window.handle_ime_commit(text); Some(()) }