Public bug reported:

---Problem Description---
X11 application cannot get nabi XIM server's state.

---uname output---
4.10.0-30-generic #34~16.04.1-Ubuntu SMP Wed Aug 2 02:13:56 UTC 2017 x86_64 
x86_64 x86_64 GNU/Linux
 
Machine Type = x64 machine 

---Steps to Reproduce---
 This testing requires X11 desktop environment , nabi XIM server (nabi package) 
and Korean locale.
1. Login to X11 environmnet
2. Download attached xim_root.zip file
3. Compile it with "-lX11" option, like
$ cc -o xim_root xim_root.c -lX11
4. Change current local ko_KR.utf8, like
$ export LANG=ko_KR.utf8
5. Start nabi, like
$ nabi &
(XIM's state may display somewhere...)
6. Start xim_root with XMODIFIERS environment variable, like
$ XMODIFIERS=@im=nabi ./xim_root
7. Press "A" key, then xim_root prints "XmbLookupString:a"
8. Press Ctrl+Muddle Mouse button on xim_root, then print "State: IM On", even 
if IM is not turned ON <== ISSUE
9. Press Shift+Space key to turn on, then type "gks", Korean character is 
displayed on xim_root, then press Return key, this Korean character is committed
10. Press Ctrl+Left Mouse button to turn off XIM server, then type "gks", but 
still XIM is turned on <== ISSUE
11. Press Ctrl+Middle Mouse button, print "State: IM Off".

So X11 application cannot get XIM state properly.

$ ps -ef | grep nabi                    
jdktest   4377  3409  0 21:21 pts/10   00:00:00 nabi
jdktest   7427  1760  0 21:40 pts/1    00:00:00 grep --color=auto nabi
$ apport-cli 4377 --save=bug.apport

** Affects: nabi (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-x86all bugnameltc-160776 severity-medium 
targetmilestone-inin---

** Tags added: architecture-x86all bugnameltc-160776 severity-medium
targetmilestone-inin---

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

Title:
  X11 application cannot get nabi XIM server's state

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to