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

Improve the availability of reverse conversion by using X11 text selection event #172

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Apr 22, 2015

What steps will reproduce the problem?
1. Install OSS Mozc 1.5.1090.102 (r115) into Ubuntu 12.04
2. Run Chrome 21.x or Firefox 15.x
3. Open http://textarea.org
4. Type something.
5. Select some characters.
6. Hit "Henkan" key to invoke reverse conversion.

What is the expected output?
Selected characters will be reconverted.

What do you see instead?
Nothing happens.

This comes from a limitation of GTK immodule:

ibus-gtk has supported selection text retrieval only from GtkTextView.
https://github.com/ibus/ibus/commit/2ed0adc7a238d5a19f8b01cdcd165a34608bf9f3
| Currently only GtkTextView widget can get them in gtk application.

Since Mozc's reverse conversion protocol requires the selection text, we cannot 
use reverse conversion on many applications including Chrome and Firefox.

To work around this limitation, we can use X11 text selection buffer. Actually 
ibus-anthy uses X11 text selection buffer to implement reverse conversion.

Original issue reported on code.google.com by yukawa@google.com on 30 Aug 2012 at 3:30

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Apr 22, 2015

This feature is available in r124.

Original comment by yukawa@google.com on 31 Aug 2012 at 6:30

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.