← Back to team overview

touch-packages team mailing list archive

[Bug 1124890] Re: Cannot send backspace using IBus' forward_key_event

 

** Tags added: ibus

** Changed in: unity
   Importance: Undecided => Low

** Changed in: unity (Ubuntu)
   Importance: Undecided => Low

** Changed in: unity
       Status: New => Triaged

** Changed in: unity (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1124890

Title:
  Cannot send backspace using IBus' forward_key_event

Status in Unity:
  Triaged
Status in unity package in Ubuntu:
  Triaged

Bug description:
  I'm trying to eleminate the use of pre-editing in my input method. In
  order to do so, I have to send fake backspace events to manipulate the
  text buffer. Unity is the only application I've tried where this
  approach doesn't work.

  In my IBus engine, I'd use this call to send a fake backspace:

      self.forward_key_event(IBus.BackSpace, 14, 0)

  Attached is a minimal program to test this bug. It needs `python-gi`,
  `gir1.2-ibus` and `ibus` running to work. How to test:

  1. Open gedit, type something.
  2. Run the script `python ibus_template.py`
  3. Press any key in gedit. With each keypress, a character will be removed from gedit's buffer.
  4. Repeat with Unity's Dash

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1124890/+subscriptions