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

how to use fcitx5 with src/waylandinputwindow.cpp? #113

Closed
coldpure9ev opened this issue Sep 7, 2020 · 3 comments
Closed

how to use fcitx5 with src/waylandinputwindow.cpp? #113

coldpure9ev opened this issue Sep 7, 2020 · 3 comments

Comments

@coldpure9ev
Copy link

i am using fcitx5 in wayland and native applications but it just running at xcb . and there is a inputwindow,like candidate window maybe, it have a wrong positon.
so i try fix that problem, i fount this fcitx5 always use function in the xcbinputwindow.cpp, but there truly have a waylandinputwindows.cpp, maybe i miss some enviroment variables to make fcitx5 runing in native wayland ?
or how can i get these wayland*.cpp files runing?
sr fo my bad english.

@wengxt
Copy link
Member

wengxt commented Sep 7, 2020

It makes no sense to use wayland to draw window because there's no way you can move the wayland window based on an absolution coordinate unless input-method wayland protocol is used (which is not really supported anywhere. I noticed kwin recently support it but I never tried it so you need to use wayland im module to test it.).

In a word, don't expect it works unless you're using gnome + https://extensions.gnome.org/extension/261/kimpanel/.

https://www.csslayer.info/wordpress/fcitx-dev/gaps-between-wayland-and-fcitx-or-all-input-methods/

@wengxt wengxt closed this as completed Sep 7, 2020
@AndreaOrru
Copy link

Doesn't Sway support input-method now?

swaywm/sway#4740

@wengxt
Copy link
Member

wengxt commented Oct 26, 2020

@AndreaOrru first, your client need to support text input v3, which is only supported by gtk nowadays. Then, you'll need to make gtk use it. Then sway need to implement, which it doesn't get_input_popup_surface. So basically no ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants