Bug#422758: uim-xim: Makes other applications bug when using non-ascii characters.
Charles Plessy
charles-debian-nospam at plessy.org
Tue May 29 10:21:23 UTC 2007
Package: uim-xim
Version: 1:1.2.1-9
Severity: important
Dear uim, nautilus and iceweasel maintainers,
I was suffering of iceweasel crashing (#412053) and nautilus refusing
the input of tilde characters on the right half of filenames (#422758),
and thanks to the sagacity of readers of debian-user-french, I think
that found a common denominator: uim-xim.
I think that the problem is similar to the following scim bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348893
Basically, strange things happen when inputting non-ASCII characters
through uim-xim, especially symbols and accented characters. I checked
the behaviour of Nautilus with japanese characters, and it seems that
they trigger the same problem as other non-ascii characters.
Surprisingly, out of two machines, the bug only affects fresh Etch installs. I
figured out that uim-anthy is not called the same way on both systems (I use
im-swich).
NO CRASH: (upgrade from Sarge)
---------
XIM=uim
XIM_PROGRAM=/usr/bin/uim-xim
XIM_ARGS=
GTK_IM_MODULE=uim
ENGINE=anthy
if [ -r "$HOME/.uim" ]; then
TMPFILE=$(mktemp) || exit 1
if [ "$(grep "; IM-SWITCH VALUE" $HOME/.uim)" ]; then
sed "s/(define default-im-name '[^)]*) ; IM-SWITCH VALUE/(define default-im-name '$ENGINE) ; IM-SWITCH VALUE/" < $HOME/.uim > $TMPFILE
else
cat $HOME/.uim > $TMPFILE
if [ "$(grep -E "^\(define[[:space:]]+default-im-name[[:space:]]" $HOME/.uim)" ]; then
echo "; (define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
else
echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
fi
fi
mv $TMPFILE $HOME/.uim
else
echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" > $HOME/.uim
fi
CRASHES: (fresh Etch)
--------
# UIM with GTK systray indicator
XIM=uim
XIM_PROGRAM=/usr/bin/uim-xim
XIM_ARGS=
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
# It seems to me that the system needs to be initialized.
# Folowing trick will wait 10 seconds without slowing down X start up.
XIM_PROGRAM_XTRA="(sleep 10; uim-toolbar-gtk-systray)"
DEPENDS="uim-xim,uim-gtk2.0|uim-qt,uim-anthy|uim-canna|uim-prime|uim-skk|uim-m17nlib"
Have a nice day,
-- Charles Plessy, Wako, Saitama, Japan
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: powerpc (ppc64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages uim-xim depends on:
ii libatk1.0-0 1.12.4-3 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libgcc1 1:4.1.1-21 GCC support library
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface
ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libuim3 1:1.2.1-9 Simple and flexible input method c
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii uim-common 1:1.2.1-9 Common files for uim
ii uim-utils 1:1.2.1-9 Utilities for uim
ii zlib1g 1:1.2.3-13 compression library - runtime
uim-xim recommends no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list