libpinyin / ibus-libpinyin

GNU General Public License v3.0
642 stars 90 forks source link

[Feature Request] Option to disable embed preedit text #306

Closed akiirui closed 3 years ago

akiirui commented 3 years ago

A options to disable embed preedit text into application window.

Because embed preedit text is have lag when typing.

ibus-setup - General - Embed preedit text in application window option not work with libpinyin.

epico commented 3 years ago

Which desktop environment do you use?

akiirui commented 3 years ago

Which desktop environment do you use?

GNOME 3.38

I have test between enable embed preedit text or not at another ibus ime, big different for feel.

epico commented 3 years ago

In GNOME desktop, the ibus panel UI is from gnome-shell.

Sorry, some option is not used in GNOME desktop...

epico commented 3 years ago

Which application is affected?

akiirui commented 3 years ago

Which application is affected?

emm, Embed preedit text in application window mean: Screenshot from 2021-01-26 14-57-50

All applications have input lag when typing.

epico commented 3 years ago

Please consider to test with new user account, sometimes data corruption can also have input lag.

If all applications have input lag issue, then please open an issue for your Linux distrubtion, it may be some problem in the OS.

akiirui commented 3 years ago

Yep, new user is same for me. I found

https://ibus.github.io/docs/ibus-1.5/IBusEngine.html#ibus-engine-update-preedit-text https://ibus.github.io/docs/ibus-1.5/IBusEngine.html#ibus-engine-show-preedit-text https://ibus.github.io/docs/ibus-1.5/IBusEngine.html#ibus-engine-hide-preedit-text

I will fork and try to add this option. Thanks for reply.

epico commented 3 years ago

Implemented in https://github.com/epico/ibus-libpinyin .