[Pkg-ime-devel] Bug#704947: ibus-chewing-1.3.10 fails to save it's settings

盧瑞元 rueiyuan.lu at gmail.com
Mon Apr 8 03:51:28 UTC 2013

Package: ibus-chewing
Version: 1.3.10+clean-3
Severity: important

Dear Maintainer,

This issue/patch is coming from:


Copy and paste from the downstream bug report:

Problem and possible cause:
The internal configuration of app-i18n/ibus-chewing-1.3.10 are not saved
This problem starts from app-i18n/ibus-1.4.0, where IBus changed their
configuration value type from GValue to GVariant.
ibus-chewing adapts the change by writing functions to convert between
and GVariant.  But it seems that the GValue->GVariant conversion function
with some types incorrectly, which caused g_value_get_uint() type checking

Steps to reproduce:
1. Install >=app-i18n/ibus-1.4.0.
2. Install =app-i18n/ibus-chewing-1.3.10.
3. Start IBus normally, switch to ibus-chewing input method.
4. On ibus-chewing language panel, click "configure" button (the second
from right).  Or if you have language panel embedded in menu, left-click on
IBus icon and choose the third item (Chinese: 設定).
5. Adjust the 5th setting (a spinbox with range 8-40, Chinese:
6. Click save (button at right-bottom corner, Chinese: 儲存).
7. Start another application, then repeat step 3 and 4.  You'll find that
setting has gone back to 8, not the value configured in step 5.

All three fields with a spinbox are affected.

Actual result:
The saved configuration does not persist and keeps going back to a certain
Here's the output found when debugging with "ibus-daemon --verbose":
(ibus-engine-chewing:4097): GLib-GObject-CRITICAL **: g_value_get_uint:
assertion `G_VALUE_HOLDS_UINT (value)' failed
(ibus-engine-chewing:4097): GLib-GObject-CRITICAL **: g_value_get_uint:
assertion `G_VALUE_HOLDS_UINT (value)' failed
(ibus-engine-chewing:4097): GLib-GObject-CRITICAL **: g_value_get_uint:
assertion `G_VALUE_HOLDS_UINT (value)' failed

Expected result:
The saved configure should persist.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_TW.utf8, LC_CTYPE=zh_TW.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ibus-chewing depends on:
ii  gconf2         3.2.5-1+build1
ii  ibus           1.4.1-9
ii  libc6          2.13-38
ii  libchewing3    0.3.3-4
ii  libglib2.0-0   2.33.12+really2.32.4-5
ii  libgtk2.0-0    2.24.10-2
ii  libibus-1.0-0  1.4.1-9
ii  libx11-6       2:1.5.0-1
ii  libxtst6       2:1.2.1-1

ibus-chewing recommends no packages.

ibus-chewing suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20130408/b1c6a15d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ibus-chewing-1.3.10-fix_save_setting.patch
Type: application/octet-stream
Size: 949 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20130408/b1c6a15d/attachment.obj>

More information about the Pkg-ime-devel mailing list