Skip to content

Revert "Enable IME on Linux/Wayland (#9602)"#11032

Merged
alokedesai merged 1 commit into
masterfrom
abhishek/revert-pr-9602
May 15, 2026
Merged

Revert "Enable IME on Linux/Wayland (#9602)"#11032
alokedesai merged 1 commit into
masterfrom
abhishek/revert-pr-9602

Conversation

@abhishekp106
Copy link
Copy Markdown
Contributor

@abhishekp106 abhishekp106 commented May 15, 2026

Description

Reverts #9602 ("Enable IME on Linux/Wayland").

This reverts merge commit 543d54ecc6766a1c863419ded39c26d97307f5b4, which added a #[cfg(target_os = "linux")] block in crates/warpui/src/windowing/winit/window.rs::create_window calling window.set_ime_allowed(true).

Linked Issue

Revert of #9602 (originally closed #9383).

Testing

  • I have manually tested my changes locally with ./script/run

This is a pure git revert of the original commit, restoring the previous behavior on Linux/Wayland.

I can't really reproduce this but it's the only commit that seems to affect IME on Linux and Wayland in the last release.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Conversation

This reverts commit 543d54e.

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 15, 2026

@abhishekp106

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@abhishekp106 abhishekp106 requested a review from alokedesai May 15, 2026 18:15
@abhishekp106 abhishekp106 enabled auto-merge (squash) May 15, 2026 18:16
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR reverts the Linux-only set_ime_allowed(true) call added for Wayland IME support. The change is small, but it directly affects user-visible text input behavior on Linux/Wayland.

Concerns

  • Removing window.set_ime_allowed(true) appears to reintroduce the issue fixed by #9602/#9383: Wayland IME stays inactive and CJK/non-Latin input becomes unusable.
  • Because this is a user-facing input behavior change, please include screenshots or a short screen recording demonstrating the intended Linux/Wayland IME behavior end to end, along with manual test confirmation.
  • Security pass: no actionable security concerns found in this diff.

Verdict

Found: 0 critical, 2 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

if let Ok(window) = created_window.as_ref() {
// On Linux/Wayland, winit only sends `zwp_text_input_v3.enable()` when IME is allowed,
// so without this call IME stays inactive and non-Latin input (CJK, etc.) is unusable.
window.set_ime_allowed(true);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] Removing this call reintroduces the Linux/Wayland IME activation bug documented by the deleted comment: without allowing IME, winit does not send zwp_text_input_v3.enable(), so CJK/non-Latin input remains unusable. Keep this behavior, replace it with a safer fix, or document why regressing #9383 is acceptable.

@alokedesai alokedesai disabled auto-merge May 15, 2026 18:42
@alokedesai alokedesai merged commit ed92a44 into master May 15, 2026
52 of 54 checks passed
@alokedesai alokedesai deleted the abhishek/revert-pr-9602 branch May 15, 2026 18:42
rikarazome added a commit to rikarazome/warp that referenced this pull request May 20, 2026
…in RELEASE_FLAGS

- Remove ime_marked_text from gui feature (no external deps)
- Add ime_marked_text to default feature list
- Gate ImeMarkedText in RELEASE_FLAGS to macos/windows only (exclude Linux due to warpdotdev#11032)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
lawsmd pushed a commit to lawsmd/cortex that referenced this pull request May 22, 2026
)

## Description

Reverts warpdotdev#9602 ("Enable IME on Linux/Wayland").

This reverts merge commit `50582e910b9149055a1962e59e6f74acc703dbb4`,
which added a `#[cfg(target_os = "linux")]` block in
`crates/warpui/src/windowing/winit/window.rs::create_window` calling
`window.set_ime_allowed(true)`.

## Linked Issue

Revert of warpdotdev#9602 (originally closed warpdotdev#9383).

## Testing

- [ ] I have manually tested my changes locally with `./script/run`

This is a pure `git revert` of the original commit, restoring the
previous behavior on Linux/Wayland.

I can't really reproduce this but it's the only commit that seems to
affect IME on Linux and Wayland in the last release.

## Agent Mode

- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode


[Conversation](https://staging.warp.dev/conversation/4326abed-5c34-4366-8ddd-5eb51039886d)

<!--
CHANGELOG-NONE
-->

Co-authored-by: Abhishek Pandya <lilimmwilson@gmail.com>
Co-authored-by: Oz <oz-agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: IME (Input Method) never enabled on Linux/Wayland — set_ime_allowed(true) missing from Linux code path

3 participants