[Fedora-i18n-bugs] [Bug 813125] ibus should not generate empty preedit strings on focus switch

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 17 15:13:05 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=813125

Luke Hutchison <luke.hutch at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|needinfo?(luke.hutch at gmail. |
                   |com)                        |

--- Comment #2 from Luke Hutchison <luke.hutch at gmail.com> 2012-04-17 11:13:03 EDT ---
The behavior manifests with Alt+Tab, but the simplest way to see it is when
Gnumeric is opened -- Gnumeric gets a preedit_changed signal with zero-length
pre-edit string, and this puts Gnumeric into edit mode, as if F2 had been
pushed. This is dangerous because the zero-length preedit string replaces
whatever was in the cell if the user does anything other than pressing Esc. So
basically if the cursor is over meaningful content, whenever you open a doc in
Gnumeric, you *must* press Esc after opening every document.

Please see the screencast here: http://web.mit.edu/~luke_h/www/gnumeric.ogv

I don't have any special ibus engines in use. In the panel applet, I only see
"English (Dvorak)" and "English (US)".

cb_gnm_pane_preedit_changed() is what I traced the problem to when hitting
Alt-Tab (i.e. the code was definitely called in that situation -- on that
computer I also had Pinyin and Hangeul input methods set up as options, but was
only using Dvorak at the time). I assume that the same procedure is called when
gnumeric is opened, the symptoms are the same -- although Gnumeric going into
edit mode right after starting is a new symptom in recent Fedora updates.

Please let me know what other information I can provide so you can duplicate
the problem.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list