代码里如何显示候选词小窗? #368
Unanswered
guyuming76
asked this question in
Q&A
Replies: 2 comments 5 replies
-
这个比较复杂,现在根据环境的不同有非常多可能的路线,Xwayland 的话就和普通的 X 没有区别,你装 gentoo 的话我不知道是不是你装 xorg-server 才能用 xwayland。可能一开始根本你就没用成 xwayland 在wayland下,fcitx 不会用 wayland 给 dbusfrontend 的程序画界面,它只会选择 1、用X画,2、让程序自己画(fcitx5-qt / gtk),而 wps 不是用 fcitx 的 im module 实现,可能根本没有实现这个功能。不用 wayland 画界面因为没法绝对定位窗口位置,画了也没有任何意义 你可以用这个命令看看程序运行在什么模式下面 |
Beta Was this translation helpful? Give feedback.
1 reply
-
gentoo 装系统一开始我是装 xorg-server 的,后来用wayland, 我就把 xorg-server 相关包给卸了,但是 xwayland 是出现在进程树里面的: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我遇到了 wps 里输入法选词小窗口不显示的问题, 我的环境是 kwin_wayland + xwayland, 并且xorg-server 包没装。我发觉可能是 装上 xorg-server 后问题就解决了: https://www.zhihu.com/question/490979954/answer/2181078176
我现在在另一台机器上能重现这个问题,在尝试安装 xorg-server 前,我想从架构原理上理解这个问题,并能够结合调试代码理解现象。
我读了 https://www.csslayer.info/wordpress/fcitx-dev/fcitx-5-key-event-handling/ ,但最后一段讲classicui啥的似乎不够详细,我参照文章用cgdb调试,但也仅限于执行到 instance.cpp 里那些匿名函数写的eventhandler. 针对我遇到的问题,该如何设置断点?
Beta Was this translation helpful? Give feedback.
All reactions