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

[BUG]: 中文输入法候选字位置始终处于左上角,未跟随输入框光标焦点处 #299

Open
L-Super opened this issue Aug 24, 2023 · 2 comments

Comments

@L-Super
Copy link
Member

L-Super commented Aug 24, 2023

Describe the bug 【Bug描述】

在Linux(UOS)平台下,在网页输入框里输入中文内容时,输入法的候选字窗口始终处于屏幕左上角,测试本地页面和网络页面均是如此。

另外测试了cefsample程序,是正常现象,所以可排除CEF问题。

To Reproduce 【复现步骤】

  1. 启动程序,在输入框中输入中文
  2. 输入法候选字窗口始终处于左上角

Expected behavior 【正确的预期行为】

候选字窗口跟随光标焦点

Screenshots 【截图】

image
image
image

Environment 【BUG产生的环境】

  • OSR/NCW Mode: OSR
  • OS & Version: Linux
  • Qt Version: Qt 5.15.2
  • CEF Version: 113.3.5+g0b33855+chromium-113.0.5672.129

Additional context 【更多额外信息】

...

@L-Super
Copy link
Member Author

L-Super commented Aug 28, 2023

使用Ubuntu是正常的,因为使用的ibus框架,Deepin/UOS使用的是fctix。
在调试过程中,当输入法为中文时,按下字母按键时,Ubuntu可以进入QCefView::keyPressEvent(QKeyEvent* event)事件,并发送key char event。但是Deepin/UOS则没有进入QCefView::keyPressEvent(QKeyEvent* event),不确定是否是这里的问题

@liyoung1992
Copy link

同样的情况:#436

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

No branches or pull requests

2 participants