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

Preedit is not displayed when using IME on Neovide. #1931

Open
ZOI-dayo opened this issue Jul 11, 2023 · 5 comments
Open

Preedit is not displayed when using IME on Neovide. #1931

ZOI-dayo opened this issue Jul 11, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@ZOI-dayo
Copy link

Describe the bug
Preedit is not displayed when using IME on Neovide.

2023-07-11.22.05.16.mov

To Reproduce

  1. Open Neovide
  2. Enter Japanese

Expected behavior
You should be able to see the string being converted even while you are typing using an IME.

↓ This is an example of expected behavior. (MacOS TextEdit)

2023-07-11.17.11.19.mov

Screenshots
There is a screen record in "Describe the bug" section.

Desktop (please complete the following information):

  • OS: macOS 13.3.1
  • Neovide Version : 372f29b (HEAD)
  • Neovim Version : NVIM v0.9.1

Please run neovide --log and paste the contents of the .log file created in the current directory here:
neovide_rCURRENT.log

Additional context
I an using Google日本語入力(aka "mozc")
But the same bug occurs with the IME preinstalled in MacOS.

@ZOI-dayo ZOI-dayo added the bug Something isn't working label Jul 11, 2023
@fredizzimo
Copy link
Member

I have an experimental branch of that here main...fredizzimo:neovide:fsundvik/ime, but note that it's a bit behind neovide main right now, so for example the IME fixes for X11 are not included, so it does not work on X11. The other platforms should be fine though.

But it's not completely ready, selections does not work, transparency does not work, and it also does not deal with line wraps in any way.

I will finish it up, only after #1870, since the transparency fixes will be much easier with that.

@sevenc-nanashi
Copy link

Any updates on this issue? I'm facing to this problem too.

@fredizzimo
Copy link
Member

I'm not sure if it's working, but I rebased main...fredizzimo:neovide:fsundvik/ime

It should work on all platforms, but it's till missing proper transparency support, selections, and some kind of wrapping or scroll when the window edge is reached.

If someone wants to continue working on it feel free to notify me and take it over. I'm not sure when I will return to it yet.

@OliverChao
Copy link

main...fredizzimo:neovide:fsundvik/ime doesn't work on MaxOS (M2)
I test it either as one single branch or as one merged branch.

#1959 works but have some problems: It covers the original text and lacks of word wrapping.

@OliverChao
Copy link

Hi @fredizzimo , I pushed one pr: #2198 to solve ime preedit missing problem.
But it needs some code review.
I will be grateful if you can check my codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants