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

fix: Broken IME enable and popup position #2571

Merged
merged 2 commits into from
May 20, 2024

Conversation

fredizzimo
Copy link
Member

@fredizzimo fredizzimo commented May 19, 2024

What kind of change does this PR introduce?

The IME enable state, is now called before each event is processed. For some reason it does not apply properly otherwise. That's also what was done before Neovide 0.13.

The position is also fixed, it used the grid position instead of the physical position before. I also fixed the one line offset bug, and a bug where the position is incorrect when starting the editing.

Did this PR introduce a breaking change?

A breaking change includes anything that breaks backwards compatibility either at compile or run time.

  • No

For some reason it won't properly get enabled otherwise
Copy link

Test Results

  6 files  ±0    6 suites  ±0   20s ⏱️ -1s
110 tests ±0  110 ✅ ±0  0 💤 ±0  0 ❌ ±0 
644 runs  ±0  644 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit bf1390d. ± Comparison against base commit a02fdf2.

@fredizzimo fredizzimo merged commit a5b5ae6 into neovide:main May 20, 2024
12 checks passed
@fredizzimo
Copy link
Member Author

I went ahead and merged this, so we can prepare a release.

@fredizzimo
Copy link
Member Author

It looks like these fixes it causes a lot of crashes in fcitx5, I will try to find a better fix.

zbyna pushed a commit to zbyna/neovide that referenced this pull request Jun 1, 2024
* Apply IME enable status on every event processed

For some reason it won't properly get enabled otherwise

* Fix the IME position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant