[Bug 1073839] [NEW] GVim accepts extra text from ibus when not in paste mode

Michael Penkov 1073839 at bugs.launchpad.net
Thu Nov 1 08:53:06 UTC 2012


Public bug reported:

I'm using ibus to enter Japanese text into GVim.

For example, if I want to enter the word 家庭 (katei), I follow the steps
below:

1) Switch to input mode (press i)
2) Switch on IME (using the appropriate key combination)
3) Enter the letters: k a t e i
4) Ibus will show a couple of candidates for the word (過程 仮定 家庭).  In all other programs, I can highlight them by pressing up/down arrows, and make my selection by pressing Enter.  However, in GVim, it enters the text without me pressing Enter, so I end up with a mess like 過程仮定家庭.

If I enable paste mode in GVim (set paste), then the problem goes away.

Here are my system details.  Please let me know if there is any other
information I can provide.

GVim version: 7.3.429
ibus-daemon - Version 1.4.1
Ubuntu 12.04
Fluxbox desktop manager

misha at misha-lmd:~/git/iwait2013/doc$ lsb_release -rd
Description:    Ubuntu 12.04.1 LTS
Release:        12.04
misha at misha-lmd:~/git/iwait2013/doc$ apt-cache policy vim
vim:
  Installed: 2:7.3.429-2ubuntu2.1
  Candidate: 2:7.3.429-2ubuntu2.1
  Version table:
 *** 2:7.3.429-2ubuntu2.1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2:7.3.429-2ubuntu2 0
        500 http://jp.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
misha at misha-lmd:~/git/iwait2013/doc$ apt-cache policy ibus
ibus:
  Installed: 1.4.1-3ubuntu1
  Candidate: 1.4.1-3ubuntu1
  Version table:
 *** 1.4.1-3ubuntu1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/statu

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1073839

Title:
  GVim accepts extra text from ibus when not in paste mode

Status in “vim” package in Ubuntu:
  New

Bug description:
  I'm using ibus to enter Japanese text into GVim.

  For example, if I want to enter the word 家庭 (katei), I follow the
  steps below:

  1) Switch to input mode (press i)
  2) Switch on IME (using the appropriate key combination)
  3) Enter the letters: k a t e i
  4) Ibus will show a couple of candidates for the word (過程 仮定 家庭).  In all other programs, I can highlight them by pressing up/down arrows, and make my selection by pressing Enter.  However, in GVim, it enters the text without me pressing Enter, so I end up with a mess like 過程仮定家庭.

  If I enable paste mode in GVim (set paste), then the problem goes
  away.

  Here are my system details.  Please let me know if there is any other
  information I can provide.

  GVim version: 7.3.429
  ibus-daemon - Version 1.4.1
  Ubuntu 12.04
  Fluxbox desktop manager

  misha at misha-lmd:~/git/iwait2013/doc$ lsb_release -rd
  Description:    Ubuntu 12.04.1 LTS
  Release:        12.04
  misha at misha-lmd:~/git/iwait2013/doc$ apt-cache policy vim
  vim:
    Installed: 2:7.3.429-2ubuntu2.1
    Candidate: 2:7.3.429-2ubuntu2.1
    Version table:
   *** 2:7.3.429-2ubuntu2.1 0
          500 http://jp.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2:7.3.429-2ubuntu2 0
          500 http://jp.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
  misha at misha-lmd:~/git/iwait2013/doc$ apt-cache policy ibus
  ibus:
    Installed: 1.4.1-3ubuntu1
    Candidate: 1.4.1-3ubuntu1
    Version table:
   *** 1.4.1-3ubuntu1 0
          500 http://jp.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/statu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1073839/+subscriptions




More information about the foundations-bugs mailing list