[Bug 1024436] Re: ibus-chewing-1.3.10 fails to save it's settings

2013-12-07 Thread 陳昌倬
** Changed in: ibus-chewing (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1024436

Title:
  ibus-chewing-1.3.10 fails to save it's settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ibus/+bug/1024436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1024436] Re: ibus-chewing-1.3.10 fails to save it's settings

2012-09-01 Thread Wenbin Leo
This was fixed upstream in iBus 1.4.2. Will iBus in Ubuntu be updated to
the new version?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1024436

Title:
  ibus-chewing-1.3.10 fails to save it's settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ibus/+bug/1024436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1024436] Re: ibus-chewing-1.3.10 fails to save it's settings

2012-07-15 Thread Logan Rosen
** Bug watch added: IBus bugs #1428
   http://code.google.com/p/ibus/issues/detail?id=1428

** Also affects: ibus via
   http://code.google.com/p/ibus/issues/detail?id=1428
   Importance: Unknown
   Status: Unknown

** Bug watch added: Gentoo Bugzilla #407779
   https://bugs.gentoo.org/show_bug.cgi?id=407779

** Also affects: gentoo via
   https://bugs.gentoo.org/show_bug.cgi?id=407779
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1024436

Title:
  ibus-chewing-1.3.10 fails to save it's settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ibus/+bug/1024436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1024436] Re: ibus-chewing-1.3.10 fails to save it's settings

2012-07-15 Thread Bug Watch Updater
Launchpad has imported 4 comments from the remote bug at
https://bugs.gentoo.org/show_bug.cgi?id=407779.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-03-11T11:09:50+00:00 Speed-up08311990 wrote:

Created attachment 304905
Patch for app-i18n/ibus-chewing-1.3.10 to fix the problem.

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.


How often:
Always reproducible.


Fix:
I've attached a patch for app-i18n/ibus-chewing-1.3.10 to fix the problem.  I'm 
still testing if this patch affects other parts of ibus-chewing, but it works 
so far.

When I have spare time, I'll try to report this and bug 407695 to ibus-
chewing developers.


PS. I have added a patch in bug 407695.  I'm just making sure that somebody 
sees the new patch.  If it's enough to just move /gconf into /etc by adding mv 
commands in ebuild, then it's okay.

Reply at: https://bugs.launchpad.net/ibus/+bug/1024436/comments/0


On 2012-03-11T11:16:17+00:00 Speed-up08311990 wrote:

Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 
3.2.1-gentoo-r2 x86_64)
=
System uname: 
Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Mar 2012 16:15:01 +
app-shells/bash:  4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.7.2-r3, 3.2.2
dev-util/cmake:   2.8.6-r4
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.0.3
sys-apps/openrc:  0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.9.6-r3, 1.11.1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:4.5.3-r2, 4.6.2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:   2.13-r4
Repositories: gentoo gentoo-zh sunrise my_dev
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt 
/usr/share/themes/oxygen-gtk/gtk-2.0
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo
CXXFLAGS=-march=native -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news 
parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn 
unmerge-logs unmerge-orphans userfetch
FFLAGS=
GENTOO_MIRRORS=http://ftp.twaren.net/Linux/Gentoo/ 
http://ftp.ncnu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/;
LANG=en_US.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en en_US zh_TW ja zh_CN
MAKEOPTS=-j8
PKGDIR=/usr/portage/packages  
 

[Bug 1024436] Re: ibus-chewing-1.3.10 fails to save it's settings

2012-07-15 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ibus-chewing (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1024436

Title:
  ibus-chewing-1.3.10 fails to save it's settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ibus/+bug/1024436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs