chadliu23 / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

Use ibus_engine_delete_surrounding_text on IBus 1.2.1 and later. #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a tracking bug to use IBus native function 
'ibus_engine_delete_surrounding_text' on IBus 1.2.1 and later instead of always 
forwarding backspace key sequences to delete the characters placing before the 
cursor position regardless of IBus version.

When we implemented nested calculation in ibus-mozc at r47, we decided not to 
use 'ibus_engine_delete_surrounding_text' because it was not functional on many 
applications.
http://code.google.com/p/chromium/issues/detail?id=55685
http://code.google.com/p/mozc/source/browse/trunk/src/unix/ibus/mozc_engine.cc?r
=47#525

Now, as far as we have tested on Ubuntu 11.10, 
'ibus_engine_delete_surrounding_text' seems to be functional and stable on the 
major applications such as Firefox 10.0, OpenOffice 3.2, and GEdit 2.30.

So it seems to be safe to start using 'ibus_engine_delete_surrounding_text'.

Original issue reported on code.google.com by n...@google.com on 21 Feb 2012 at 8:05

GoogleCodeExporter commented 9 years ago
Correction of the product name and version in the previous post.

Here is the list of applications we tested on Ubuntu 11.10 with 
'ibus_engine_delete_surrounding_text'.
- Firefox 10.0.2: Functional.
- LibreOffice Writer 3.4.4: Functional.
- LibreOffice Calc 3.4.4: Functional.
- LibreOffice Impress 3.4.4: Not fully functional.
- GEdit 3.2.3: Functional.
- GNOME Terminal 3.0.1: Not functional.
- Chromium Web Browser: Only functional on the OmniBox (address bar).

We did not test OpenOffice 3.2 anyway.

Regards,

Original comment by yukawa@google.com on 23 Feb 2012 at 7:39

GoogleCodeExporter commented 9 years ago
- Chromium Web Browser 16.0.912.77: Functional only on the OmniBox (address 
bar).

Original comment by yukawa@google.com on 23 Feb 2012 at 7:40

GoogleCodeExporter commented 9 years ago
Implemented in r96.

Original comment by yukawa@google.com on 7 Mar 2012 at 4:22