Skip to content

Conversation

@Arthur-Huan
Copy link

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Hopefully closes #8272 and #6950

Description

Add the --enable-wayland-ime flag to tell Electron to use the Wayland IME pathway if on Wayland.

Testing

  1. Run FreeTube on a Wayland session for KDE Plasma, Mint, or GNOME (or another popular DE)
  2. Set an IME in the system settings
  3. Verify that typing in the search bar can now use the IME

Additional context

Applying the --enable-wayland-ime flag seems to be the current solution for the upstream issue, but this may become deprecated or unnecessary if/when Electron implements it by default.

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) January 22, 2026 23:07
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jan 22, 2026
@Arthur-Huan Arthur-Huan changed the title Add support for Wayland Virtual Keyboard IMEs Add support for Wayland IMEs Jan 22, 2026
@absidue
Copy link
Member

absidue commented Jan 23, 2026

You wrote "hopefully closes" does that mean you didn't actually test this pull request?

@absidue absidue added U: Waiting for Response from Author and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Jan 23, 2026
@Arthur-Huan
Copy link
Author

Sorry for the misunderstanding. I tested it on KDE Plasma with fcitx5, Maliit, and IBus, and on GNOME with IBus. I just didn't feel confident in saying it definitively solves the issue for every DE and IME combo.

@absidue
Copy link
Member

absidue commented Jan 23, 2026

@Arthur-Huan If I am reading the Chromium source code correctly wayland IME support should already be enabled by default in the Electron version that the development branch is using (the development branch is way ahead of the 0.23.x releases) via the text-input-v3 protocol. Could you please test the development branch without this change and see if IME still works?

References:

https://github.com/chromium/chromium/blob/862bf34716792f60f71ee96f46640c3681ddd1e8/ui/base/ui_base_features.cc#L110

https://github.com/chromium/chromium/blob/862bf34716792f60f71ee96f46640c3681ddd1e8/ui/ozone/platform/wayland/host/wayland_input_method_context.cc#L81-L82

@Arthur-Huan
Copy link
Author

I believe you are correct, thanks.

auto-merge was automatically disabled January 23, 2026 21:10

Pull request was closed

@Arthur-Huan Arthur-Huan deleted the wayland-ime branch January 23, 2026 21:10
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]: no input from virtual keyboard to the searchbar

2 participants