X11 application cannot get nabi XIM server's state

Bug #1734032 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nabi (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

---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

Revision history for this message
bugproxy (bugproxy) wrote : xim_root.zip

Default Comment by Bridge

tags: added: architecture-x86all bugnameltc-160776 severity-medium targetmilestone-inin---
Revision history for this message
bugproxy (bugproxy) wrote : bug.apport

Default Comment by Bridge

Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → nabi (Ubuntu)
Revision history for this message
Frank Heimes (fheimes) wrote :

nabi is a package that belongs to Ubuntu Desktop.
And the underlying platform is listed as x86_64.

But why is this ticket marked as affecting the ubuntu-power-systems project?
Ubuntu for Power is Ubuntu Server only.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-11-23 03:36 EDT-------
(In reply to comment #9)
> nabi is a package that belongs to Ubuntu Desktop.
> And the underlying platform is listed as x86_64.
>
> But why is this ticket marked as affecting the ubuntu-power-systems project?
> Ubuntu for Power is Ubuntu Server only.

This was tested in a Desktop environment and not Power server.

Thank you.

Frank Heimes (fheimes)
Changed in nabi (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → nobody
Frank Heimes (fheimes)
Changed in nabi (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.