Red Hat Bugzilla – Bug 513901
ibus-table setup does not store config settings
Last modified: 2013-01-23 11:14:53 EST
Description of problem:
ibus-table config is not using gconf to store configuration settings.
Steps to Reproduce:
1. change ibus-table config
2. restart desktop
3. use ibus-table
configuration to persist
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
No change I believe.
Is there anything or what is there to save?
Would it be a useful feature?
phuang once suggested me to install ibus-gnome to have settings able to be saved. The info was for previous version of Fedora and ibus, so I think the package names / steps are different now. AFAIR ibus needs gconf registries to store settings.
The solution of adding ibus-gnome (or similar) packages as dependency of ibus, was not welcomed by those who dislikes gconf/gnome in their gnome-free systems.
Fedora 17 or later uses ibus 1.5. (ibus 1.4.99).
The definition of ibus_config_set_value() was changed.
The argument needs to be GVariant but ibus-table tries to send the raw values which were used in old ibus python.
# grep set_value /usr/share/ibus-table/engine/table.py
So ibus-table needs to be modified to support ibus 1.5.
E.g. ibus-anthy converts the raw values to GLib.Variant values:
The numbers 1.3, 1.4... are supported ibus versions.
(In reply to comment #8)
> Fedora 17 or later uses ibus 1.5. (ibus 1.4.99).
> The definition of ibus_config_set_value() was changed.
The get_value() is also changed. Now it returns GVariant value.
Also I noticed ibus-table uses set_icon() for ibus panel menu but icon menus are not enabled in GNOME GtkStatusIcon by default.
So probably it's good to call set_label too:
@@ -994,9 +994,11 @@ class tabengine (ibus.EngineBase):
self._letter_property.set_icon ( u'%s%s' % (self._icon_dir, 'full-letter.svg') )
+ self._letter_property.set_label ( u'%s' % _("Full") )
self._letter_property.set_tooltip ( _(u'Switch to half-width letter') )
self._letter_property.set_icon ( u'%s%s' % (self._icon_dir, 'half-letter.svg') )
+ self._letter_property.set_label ( u'%s' % _("Half") )
self._letter_property.set_tooltip ( _(u'Switch to full-width letter') )
Actually the saving of the property options already works
both in f17 and f18. I.e. this bug has been fixed long ago already.
Nevertheless it makes sense to migrate the code to use
the new pygobject3 API Fujiwaras San recommends to do this in comment#8.
I’ll try to do that.
I ported to the GOpbjectIntrospection API as suggested:
ibus-table-126.96.36.19930110-1.fc18 has been submitted as an update for Fedora 18.
ibus-table-188.8.131.5230110-1.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-table-184.108.40.20630110-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ibus-table-220.127.116.1130110-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
ibus-table-18.104.22.16830110-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.