** Summary changed:

- fcitx does not handle  XmbReetIC() properly
+ [SRU] fcitx does not handle  XmbReetIC() properly

** Description changed:

- Problem Description
- ==========================
+ [Impact]
+ 
  fcitx XIM server cannot handle XmbResetIC() as expected.
  By XmbResetIC(), fcitx should return preedit string or cancel preedit.
- But even if XmbResetIC() was called, fcitx still had preedit string, preedit 
string was not flushed. 
-  
- ---uname output---
- 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 
x86_64 GNU/Linux
-  
- Machine Type = x86_64 machine 
+ But even if XmbResetIC() was called, fcitx still had preedit string, preedit 
string was not flushed.
  
- Steps to Reproduce
- =======================
-  This testing requires Japanese environment on Ubuntu Desktop 16.04.
+ [Test Case]
+ 
+ Step to reproduce:
+ This testing requires Japanese environment on Ubuntu Desktop 16.04.
  Also fcitx , fcitx-module-X11, fcitx-mozc, mozc-server should be configured
  1. Login to Ubuntu Desktop
  2. Open gnome-terminial
  3. Set XMODIFIERS environment variable to @im=fcitx
-   $ export XMODIFIERS=@im=fcitx
+   $ export XMODIFIERS=@im=fcitx
  4. Compile and run test program
  5. Turn on IME, by Ctrl+Space
  6. Type "a", then preedit string which is on preedit window is displayed 
under XIM demo window
  7. Move mouse cursor on XIM demo window, then press Right mouse button
  8. Then XmbResetIC() is called, but preedit window is still there and preedit 
string is still there.
  (Preedit string should be flushed by XmbResetIC())
  9. Type "i", 2 characters are displayed into preedit string
  
- Mirroring this issue for Canonical's awareness.
+ When fixed, preedit string should be gone.
  
- Thank you.
+ [Regression Potential]
+ 
+ This minimal patch is from upstream, which only touches the specific
+ area, and it's in yakkety for a while without problem.

** Changed in: fcitx (Ubuntu Xenial)
       Status: Triaged => In Progress

** Changed in: fcitx (Ubuntu Xenial)
     Assignee: (unassigned) => Aron Xu (happyaron)

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

Title:
  [SRU] fcitx does not handle  XmbReetIC() properly

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to