Cannot open cangjie preference in GNOME 40
Created by: scjlee
Recently installed Solus GNOME 4.3 which ship with GNOME 40.3. I was trying to change cangjie version via GNOME setting, but the window just refuse to show up. While using ibus-setup command, I got following message after clicking preference under input method tab:
/usr/bin/ibus-setup-cangjie:35: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
/usr/bin/ibus-setup-cangjie:36: PyGIWarning: IBus was imported without specifying a version first. Use gi.require_version('IBus', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import IBus
Traceback (most recent call last):
File "/usr/bin/ibus-setup-cangjie", line 62, in <module>
Setup(args.engine, datadir, gettext_package).run()
File "/usr/lib/python3.7/site-packages/ibus_cangjie/setup.py", line 35, in __init__
self.__builder.add_from_file(ui_file)
gi.repository.GLib.Error: gtk-builder-error-quark: /usr/share/ibus-cangjie/setup.ui:43:36 Invalid property: GtkDialog.border_width (11)
After googling awhile, i found similar problem also happened on Fedora 34 which uses GNOME 40 too. I believe it is due to Gtk4 which deprecated GtkContainer class and thus the border-width property no longer exists.
I don't have any experience in programming with Gtk. Dose anyone have some suggestions?