Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1358 by [email protected]: Allow failure status when application does not support surrounding text
http://code.google.com/p/ibus/issues/detail?id=1358

What version of the product are you using? On what operating system?
OS (Linux distributions, UNIX or ...):  Debian unstable
Architecture (i386, x86_64): x86_64
IBus version: 1.4.0
Input method name and version: ibus-m17n 1.3.3
Python version: 2.7.2
dbus version: 1.4.16
dbus-python version: 0.84.0
gtk version (if bug is about gtk applications): 3.2.2
qt version (if bug is about qt applications): -

What steps will reproduce the problem?
1. Add thai tis820 (m17n) IM engine
2. Start gnome-terminal
3. cat > /dev/null
4. Switch to Thai and start typing Thai message e.g. "???" ("muj" on QWERTY keyboard)

What is the expected output?
- "???" is input properly.

What do you see instead?
- Only "?" is accepted. The last two combining characters are rejected.

Please provide any additional information below.
- gnome-terminal does not support surrounding text retrieval/deletion, which is the right thing for terminal emulator. But m17n surrounding text support does not fall back on the absence of the support. And that's impossible with the current IBus API, in which ibus_engine_get_surrounding_text() is a void function, without success/failure return status. [1]

[1] ibus.googlecode.com/svn-history/r263/docs/ibus-1.4/IBusEngine.html#ibus-engine-get-surrounding-text

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复