Bug 481095 - ibus-anthy: pre-edit sometimes gets stuck
ibus-anthy: pre-edit sometimes gets stuck
Product: Fedora
Classification: Fedora
Component: ibus-anthy (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Peng Huang
Fedora Extras Quality Assurance
Depends On:
Blocks: 481098
  Show dependency treegraph
Reported: 2009-01-21 23:35 EST by Warren Togami
Modified: 2009-02-04 21:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-04 21:12:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Warren Togami 2009-01-21 23:35:43 EST

Often the state of the preedit gets stuck.  It seems to be timing related.

The most easy to reproduce case involves deletion.

1. Run gedit (also reproduced in pidgin and firefox).
2. Use scim-anthy.
3. Type "nihongo" but do not hit SPACE or ENTER.  Typos are OK.  Vary your typing timing.
4. Hit Delete to erase all of the pre-edit text.
5. Goto Step #3.

Eventually you will get to a state where the Delete button fails to delete some of the pre-edit buffer.  If you enter a new character into pre-edit, then Delete is able to delete all characters.

There are variations of this where pre-edit behavior gets stuck in such a way that no typing, SPACE or ENTER responds anymore.  CTRL-Space trigger to deactivate and activate it again is the only way to recover.

1. Go into a text box in firefox like this Bugzilla form.
2. Type "nihonn" quickly, hesitate a moment.
3. Type "go"
4. Quickly hit the Delete key a few times to attempt to erase the pre-edit buffer.
5. If you got the timing just right, it gets fully stuck needing the trigger to recover.
Comment 1 Warren Togami 2009-02-02 22:06:51 EST

pidgin variation when I hit Delete on Step 4.  No crash, but pre-edit is stuck and this prints to the console.

(pidgin:5501): IBUS-WARNING **: Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.5/site-packages/ibus/engine.py", line 149, in ProcessKeyEvent
    return self.__engine.process_key_event(keyval, is_press, state)
  File "/usr/share/ibus-anthy/engine/engine.py", line 250, in process_key_event
    return self.__on_key_back_space()
  File "/usr/share/ibus-anthy/engine/engine.py", line 553, in __on_key_back_space
  File "/usr/share/ibus-anthy/engine/jastring.py", line 69, in remove_before
  File "/usr/share/ibus-anthy/engine/romaji.py", line 138, in pop
    raise IndexError("Out of bound")
IndexError: Out of bound
Comment 2 Peng Huang 2009-02-03 02:13:41 EST
Fixed in ibus-anthy- Please test it.
You could download rpms from http://koji.fedoraproject.org/koji/buildinfo?buildID=81299
Comment 3 Fedora Update System 2009-02-04 21:12:31 EST
ibus-anthy- has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.