Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1428 by [email protected]: ibus-chewing-1.3.10 fails to save
it's settings
http://code.google.com/p/ibus/issues/detail?id=1428
This issue/patch is coming from:
http://bugs.gentoo.org/407779
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
successfully.
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
GValue and GVariant. But it seems that the GValue->GVariant conversion
function dealt with some types incorrectly, which caused g_value_get_uint()
type checking failure.
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
button from right). Or if you have language panel embedded in menu,
left-click on the 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
the 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
value.
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.
Attachments:
ibus-chewing-1.3.10-fix_save_setting.patch 950 bytes
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en