libgtk-3-0:<arch>.postinst erase IM cache file, that breaks GTK-3 apps IM environment.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+3.0 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
/var/lib/
[How to reproduce]
1) install precise
2) sudo apt-get update && sudo apt-get upgrade libgtk-
3) open gnome-terminal
4) Type ctrl-space(or your IM invoke key)
[Actual results]
IM(e.g. ibus) does not invoked. But, non GTK-3 application (such as Firefox) could use ibus.
[Expect results]
IM invoked.
[Root cause/Background]
In many IM stacks, that use /usr/lib/
If that file has exists && empty, IM stacks could not start on GTK-3 applications.
in GTK-3 postinst scriptlet(e.g. /var/lib/
if [ "$1" = triggered ]; then
for trigger in $2; do
if ! [ -d $trigger ]; then
fi
case $trigger in
# This is triggered everytime an application installs a
# GTK immodule loader
;;
esac
done
exit 0
fi
e.g.:
# /usr/lib/
/usr/lib/
Cannot load module /usr/lib/
/usr/lib/
-------
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libgtk-3-0 3.3.4-0ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-13-
ApportVersion: 1.90-0ubuntu1
Architecture: i386
Date: Tue Dec 27 00:45:22 2011
InstallationMedia: Ubuntu 11.10 "Oneiric" - Build i386 LIVE Binary 20111014-16:01
ProcEnviron:
PATH=(custom, user)
LANG=ja_JP.utf8
SHELL=/bin/zsh
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to precise on 2011-12-13 (12 days ago)
Related branches
summary: |
- /var/lib/dpkg/info/libgtk-3-0:<arch>.postinst breaks IM + libgtk-3-0:<arch>.postinst erase IM cache file, that breaks GTK-3 apps + IM environment. |
Changed in gtk+3.0 (Ubuntu Precise): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Sebastien Bacher (seb128) |
Changed in gtk+3.0 (Ubuntu Precise): | |
assignee: | Sebastien Bacher (seb128) → nobody |
Changed in gtk+3.0 (Ubuntu Precise): | |
status: | Triaged → Fix Committed |
Thanks for your report.
I can confirm that /usr/lib/ <arch>- linux-gnu/ gtk-3.0/ 3.0.0/immodules .cache is empty on Precise and is filed with available IM modules if gtk-query- immodules- 3.0 is run with existing paths as argument.