Bug 5277 - Issues with stopping IIIM deamon
: Issues with stopping IIIM deamon
Status: CLOSED FIXED
Product: opensolaris
i18n-l10n
: 200811
: ANY/Generic Solaris
: P2 minor (vote)
: ---
Assigned To: yongsun
: Watcher account for opensolaris/g11n
:
: rn4
:
:
:
  Show dependency treegraph
 
Reported: 2008-11-20 14:50 UTC by Suresh Chandrasekharan
Modified: 2009-09-11 10:31 UTC (History)
3 users (show)

See Also:


Attachments
Fix the status window and long latency problem in iiimf (6.00 KB, patch)
2008-11-27 06:20 UTC, yongsun
no flags Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description Suresh Chandrasekharan 2008-11-20 14:50:18 UTC
Invoke gnome-session-properties
Uncheck the "Start IIIM Deamons"
Log out and log back in
Take a gnome application, type moderately fast, app response slows down

App hangs momentarily on iiimf_connect_socket_stream function call in libiiimp
which tries to connect to the iiim deamon

Workaround: Restart IIIM Deamon, other workarounds do have side effects
Comment 1 Fuyuki Hasegawa 2008-11-20 22:16:14 UTC
The following three problems need to be fixed.

1. If GTK_IM_MODULE is not set by user, GTK_IM_MODULE=iiim is always set
   as default. If iiim startup was disabled, /etc/iiim/xsession should
   not set GTK_IM_MODULE=iiim.

2. Key type delay problem with GTK apps happens if GTK_IM_MODULE=iiim
   (im-iiim.so is loaded) and iiim daemon is not running. The problem
   should not happen in this case too.

Even if the above problems are fixed, will see the following problem.

3. xiiimp.so.2 is loaded for XIM client (X native app, Java or
   GTK app with GTK_IM_MODULE=xim or none). If iiim daemon is not
   present, xiiimp.so.2 will attach IM status window to each
   application's left and bottom corner by default.
   The default should be changed to not attach the IM status window.
Comment 2 Fuyuki Hasegawa 2008-11-25 04:39:36 UTC
The issue is being described in 2008.11 release note.
Workaround recommended until all the problems are get fixed
(fixes are on going), is simply "don't stop iiimf daemon".

      An another possible workaround is to add the following
      in $HOME/.profile:
      export GTK_IM_MODULE=gtk-im-context-simple (for the problem#1&2)
      /usr/lib/iiim/iiimx-settings-init          (for the problem#3)

In the meantime, if you want to remove Input Method Switcher
(iiim-panel) from gnome-panel and also disable Input Method
trigger keys, follow the below steps instead of stopping iiim daemon.

1. Launch iiim-properties (System->Preferences->Input Methods).
2. Choose "None" from "Input Method status switcher placement"
   pull down menu in General tab.
3. Click on the "Trigger Keys" tab, select the trigger keys and
   click on "Remove" button.
4. Press Apply or OK button.
Comment 3 yongsun 2008-11-27 06:20:02 UTC
Created an attachment (id=1052) [details]
Fix the status window and long latency problem in iiimf
Comment 4 Fuyuki Hasegawa 2009-02-23 00:49:30 UTC
All the three problems in the comment #1 have been fixed and
will be available at snv_108 sync.
Comment 5 Vít Holý 2009-09-11 10:31:27 UTC
Seems to be fixed, tested on snv_122.