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

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 19 01:31:06 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 #4 from Luke Hutchison <luke.hutch at gmail.com> 2012-04-18 21:31:04 EDT ---
On the computer I'm on right now, I can't duplicate the problem of Gnumeric
going into edit mode right on document open, but I can duplicate the problem on
Alt+Tab, even after installing your patched RPMs, killing every process
containing the string "ibus", and re-starting ibus.

With the Alt+Tab case, you have to actually have multiple keyboard layouts
installed, and switch layouts once, before Alt+Tab causes Gnumeric to enter
edit mode with an empty preedit string.

I also found a new case that causes the problem: switching input methods while
the cursor is over a cell in Gnumeric also causes Gnumeric to go into edit mode
with an empty preedit string.

Here are some specific instructions on how to reproduce:

1) Create a Gnumeric doc with "x" in A1. Make sure the cursor is in A1, then
save the doc and close it.

2) Start iBus and make sure you have at least 2 input methods, e.g. US and
Dvorak keyboard layouts. (This computer also has Hangeul and Pinyin, but I
don't think those are needed.)  Maybe restart iBus for good measure after
adding a second method, I don't know if it needs it.

3) Switch to another keyboard method from the one you started with, e.g. US ->
Dvorak layout. It seems that this is needed to trigger the bug, at least with
all the latest Fedora updates, and with your patched RPMs.

4) Open a terminal window so you have something else to switch to with Alt+Tab
in step 6. Make sure the terminal window is not going to overlap the area of
the screen where A1 in your Gnumeric window will be shown, so that you can see
the area of the screen containing A1 even when the terminal window is switched
to the top with Alt+Tab.

5) Hit Alt+F2 and type "gnumeric Book1.gnumeric" or similar to re-open your
doc. Cursor should be in A1 and presumably with your current patch, the cursor
should not be in edit mode (although as I say, on the computer I'm currently
on, I can't duplicate the "edit mode on open" behavior without your patches --
I can test at home later).

6) Switch to the terminal with Alt+Tab. This should bring the terminal to the
top, and the Gnumeric window should enter edit mode. (=> bug #1)

7) Switch back to Gnumeric and hit Esc to take Gnumeric out of edit mode. Now
switch input methods using the iBus panel applet. Again Gnumeric will enter
edit mode. (=> bug #2)

Please let me know if you can duplicate.  Thanks!

-- 
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