KWrite and Kate of KDE4 do not show "select IM" in the right-click context menu and so cannot select and use iBus/Scim

Bug #202986 reported by Qichang Liang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Invalid
Undecided
Unassigned
scim-bridge (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Even when context-sensitive input methods like iBus/Scim are installed, users are not able to select and use them in KWrite and Kate of KDE4 because the right-click context menu does not show the "select IM" menu item.

Since it is very important to enable convenient multilingual text input in the vanguard text editors of KDE(4) Kate and KWrite, this bug must be attached high importance and fixed speedily.

Granted, there are other workarounds like adding some export lines in ~/.bashrc setting QT_IM_MODULE=ibus etc but such workarounds do not (by themselves) give users the freedom of runtime switching between input methods which is the purpose of "select IM".

It should be noted that all other KDE 4 applications like Plasma, Konqueror, Amarok etc do not have this problem. This would indicate that this is a problem with Katepart, somehow. So it is a problem with kdelibs and not kdebase. It is also unrelated to the scim package. (Please, those more knowledgeable than me correct this if it is wrong.)

Revision history for this message
Arne Goetje (arnegoetje) wrote :

Can you please install scim-bridge-client-qt4 and try again?

Please also post the following information:
 * which locale are you using?
 * how did you activate Chinese input support?
 * the output of 'im-switch -l' from a terminal window.

Thanks

Revision history for this message
Qichang Liang (kcleung-users) wrote :

I have already installed scim-bridge-client-qt4 0.4.14-1ubuntu2

locale: en_NZ.UTF-8

I didn't do anything to activate chinese input support. The scim keyboard automatically appears at the right side of the bottom toolbar. For some applciations, such as konqueror, where "select IM" is available, I just pick SCIM.

Here is the output of im-switch -l:

abc@kubuntu:~$ im-switch -l
Your input method setup under en_NZ locale as below.
=======================================================
No private "/home/abc/.xinput.d/en_NZ or /home/abc/.xinput.d/all_ALL" is defined.
=======================================================
The system wide default is pointed by "/etc/alternatives/xinput-all_ALL" .
xinput-all_ALL - status is auto.
 link currently points to default
skim - priority 0
default - priority 10
default-xim - priority 0
none - priority 0
Current `best' version is default.
=======================================================
The available input method configuration files are:
/usr/bin/find: /home/abc/.xinput.d: No such file or directory
default default-xim none scim scim-bridge scim-chewing scim-immodule scim-pinyin skim th-xim
=======================================================
abc@kubuntu:~$

Revision history for this message
Arne Goetje (arnegoetje) wrote :

im-switch -s scim-bridge

should help.

Please also remove the skim package from your system, as it is incompatible with KDE4 and causes trouble. (This has only recently been discovered.)

Revision history for this message
Shriramana Sharma (jamadagni) wrote :

I am running Jaunty with latest updates till 2009-02-20. I am also unable to use scim in non-GTK applications (I don't use any regularly than Firefox and Thunderbird) such as KDE 4 applications, KDE 3 applications (OpenOffice uses KDE 3 widgets). Please help. Additional information:

# dpkg-query -W | grep scim

libscim8c2a 1.4.7-3ubuntu11
scim 1.4.7-3ubuntu11
scim-bridge-agent 0.4.14-2ubuntu5
scim-bridge-client-gtk 0.4.14-2ubuntu5
scim-bridge-client-qt4 0.4.14-2ubuntu5
scim-gtk2-immodule 1.4.7-3ubuntu11
scim-modules-socket 1.4.7-3ubuntu11
scim-modules-table 0.5.8-1
scim-tables-additional 0.5.8-1

I don't have skim installed.

My /etc/kde4/kdm/Xsession (self-edited) ends with:

# invoke .xim in user home directory
[ -f $HOME/.xim ] && . $HOME/.xim
# invoke global X session script
. /etc/X11/Xsession

where ~/.xim contains:

export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=scim
scim -d
im-switch -s scim-bridge

I did these modifications as prescribed at http://graphicsmakesfun.blogspot.com/2007/12/autostart-scim-under-kde4.html but still it does not work on non-GTK applications.

affects: kdebase-kde4 (Ubuntu) → kdebase (Ubuntu)
Revision history for this message
Harald Sitter (apachelogger) wrote : Re: [Bug 202986] Re: Many KDE4 applications (such as Kwrite and Kate) does not show the "select IM" menu on right click, thus can't select and use scim

Is this still an issue with kde 4.1, 2 or 3?

27. Jun 2009 10:41 vorm. schrieb am "Terence Simpson" <
<email address hidden>>:

** Package changed: kdebase-kde4 (Ubuntu) => kdebase (Ubuntu)

-- Many KDE4 applications (such as Kwrite and Kate) does not show the
"select IM" menu on right cl...
https://bugs.launchpad.net/bugs/202986

You received this bug notification because you are a member of Kubuntu Bugs,
which is subscribed to ...

Revision history for this message
Plareplane (plareplane) wrote : Re: Many KDE4 applications (such as Kwrite and Kate) does not show the "select IM" menu on right click, thus can't select and use scim

Still an issue for me on KDE4.2. I worked around it by using scim instead of scim-bridge, see my comment here: https://bugs.launchpad.net/ubuntu/+source/scim/+bug/36547/comments/6

Revision history for this message
^rooker (rooker) wrote :

Confirming that it's still an issue for me, too.
Kubuntu Jaunty KDE4.2.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the newest release - Lucid Lynx. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. Thanks again and we appreciate your help.

Changed in kdebase (Ubuntu):
status: New → Incomplete
Revision history for this message
Ralph Janke (txwikinger) wrote :

Obviously, I meant to say the newest release Karmic Koala :)

Revision history for this message
Shriramana Sharma (jamadagni) wrote :

Hello, I'm running a full fledged hard disk installation (i.e. don't know about live desktop CD) of Kubuntu Karmic Koala with the latest updates for KDE and still have this error. So I'm resetting this from Incomplete -> New.

Changed in kdebase (Ubuntu):
status: Incomplete → New
description: updated
summary: - Many KDE4 applications (such as Kwrite and Kate) does not show the
- "select IM" menu on right click, thus can't select and use scim
+ KWrite and Kate of KDE4 do not show "select IM" in the right-click
+ context menu and so cannot select and use iBus/Scim
Changed in scim-bridge (Ubuntu):
status: New → Invalid
affects: kdebase (Ubuntu) → kde4libs (Ubuntu)
Changed in kde4libs (Ubuntu):
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Upstream bug: http://bugs.kde.org/show_bug.cgi?id=95869
Closing the Launchpad bug since we can just track this at the KDE bug.

Changed in kde4libs (Ubuntu):
status: Confirmed → 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.