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

Wrong candidate window position in Excel 2016 #4

Open
tramhao opened this issue Oct 31, 2016 · 0 comments
Open

Wrong candidate window position in Excel 2016 #4

tramhao opened this issue Oct 31, 2016 · 0 comments

Comments

@tramhao
Copy link

tramhao commented Oct 31, 2016

Dear Author,

I'm using PIME which is based on LibIME. My environment: Windows 10 Home edition, 64 bit. Office 2016 professional plus edition, 64 bit.
The candidate windows position is wrong in excel as attached screenshot. After enter 1st letter, it's always in formular toolbar. After enter 2nd letter, it's combing back to correct location.
Similar problem observed when using Notepad++, the first position of candidate window is always on the right bottom corner which is not the current cursor position. This only happens when I tried to input the first letter after activating PIME.
excel tsf

After some code reading, I believe the problem is in selectionRect function in TextService.cpp, however, I don't know how to correct it. I saw some sample code from MS that they're using ITFTextLayoutSink in such situation, which is not implemented by libIME. Would you please kindly check, if this problem can be fixed? Thanks.
After some code reading, I believe the problem is in selectionRect function in TextService.cpp, however, I don't know how to correct it. I saw some sample code from MS that they're using ITFTextLayoutSink in such situation, which is not implemented by libIME. Would you please kindly check, if this problem can be fixed? Thanks.

Larry Hao

@tramhao tramhao changed the title Wrong composition window position in Excel 2016 Wrong candidate window position in Excel 2016 Oct 31, 2016
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

1 participant