Comment #6 on issue 830 by [email protected]: ibus-table only works with us keyboard layout
http://code.google.com/p/ibus/issues/detail?id=830

This seems to be only a misunderstanding about the behaviour of the
left shift key.

Example for the behaviour of the left shift key:

- Type a
  you see candidates starting with 工

- Type Shift_L
  If the preëdit is not empty, Shift_L commits to preëdit.
  As the preëdit is not empty, 工 is committed to preëdit (that means
  the candidates disappear and 工 becomes red and the wubi-jidian86
  key sequences for 工 are shown: “a aaa aaaa”).

- type SPACE
  工 is really committed to the application now

- Type Shift_L
  Now it switches to direct input mode because the preëdit is empty.
  You can see that also in the leftmost icon in the floating panel
  at the top right of the screen, it toggles from 中 to 英.

- Type a
An “a” is inserted (maybe halfwidth or fullwidth, depending on the settings)

- Type Shift_L
  Now it switches to Chinese mode again because the preëdit is empty.
  The leftmost icon in the floating panel toggles from 英 to 中 again.

- Type a
  you see candidates starting with 工

See attached movie.

I.e. Shift_L has two different functions in ibus-table:

1) if the preëdit is empty it toggles between Latin input and Chinese input
2) if the preëdit is *not* empty, it commits the currently selected
   candidate to preëdit.
   Committing to preëdit means that the wubi keys for that character are
   shown. And, it is possible to type more characters and commit them to
   preëdit. When the whole preëdit is finally committed to the application
   by typing SPACE, a new wubi shortcut is defined for the whole string.

   Example:

   - Type “wqiy” and commit the candidate 你 to preëdit with Shift_L
   - Type “vbg” and commit the candidate 好 to preëdit with Shift_L

   Now you see 你好 in the preëdit, coloured red and in the auxiliary
   text you see:

       vb vbg #: wqvb

   or, when you move the cursor with arrow-left over the 你
   you see:

       wq wqi wqiy #: wqvb

   The key sequence after the “#:”, i.e. “wqvb” is the new key sequence
   which will be defined for the whole string 你好 when this is commited
   with SPACE to the application now.


Attachments:
        how-shift-l-works-in-ibus-table.ogv  192 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复