YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
2.82k stars 79 forks source link

xwayland fcitx5 problem #445

Closed cexossqu closed 1 week ago

cexossqu commented 2 weeks ago

I have encountered two issues and am unsure if they are unsupported features or bugs. Both problems pertain to the fcitx5 input method in xwayland. Firstly, it appears that steam does not activate my fcitx5 under xwayland. Secondly, there are applications that activate fcitx5 but do not display a candidate box.

System Information

YaLTeR commented 2 weeks ago

I guess I'll delegate this question to @kchibisov, I don't have much experience with input methods.

How are you running Xwayland for Steam?

cexossqu commented 2 weeks ago

I guess I'll delegate this question to @kchibisov, I don't have much experience with input methods.

How are you running Xwayland for Steam?

Using the first method in the wiki, run the xwayland command directly

kchibisov commented 2 weeks ago

I'm not sure it'll work unless fcitx5 knows before running about XWayland somehow, which won't happen, I guess. Though, maybe with dbus methods it'll work, I'm not sure what steam uses, never used IME in it and not sure it can work with XWayland at all.

As for windows who don't display the popup, they may set its position to some really big value just to never show it, but I never seen a Wayland app without the ime popup, but again, it's up to application to communicate that, if they don't then there won't be a popup. You can check that with WAYLAND_DEBUG for the client that lacks it.

vollowx commented 2 weeks ago

Are you running steam directly under rootful Xwayland or under a compositor like i3wm? In my case with i3wm, programs under Xorg can all get the candidates popup of IME.

cexossqu commented 2 weeks ago

Are you running steam directly under rootful Xwayland or under a compositor like i3wm? In my case with i3wm, programs under Xorg can all get the candidates popup of IME.

I also use i3wm. I decided to forgo using fcitx5 under xwayland, as it was not particularly crucial to me. Maybe we should use the Wayland app Thanks everyone!!

YaLTeR commented 1 week ago

So I guess this should be closed since it's not necessarily a niri issue?