https://bugzilla.redhat.com/show_bug.cgi?id=2054680
Bug ID: 2054680
Summary: workaround gtk4 preferring ibus-gtk4 to Wayland input
protocol
Product: Fedora
Version: rawhide
Status: NEW
Component: ibus
Assignee: tfujiwar(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: i18n-bugs(a)lists.fedoraproject.org,
shawn.p.huang(a)gmail.com, tfujiwar(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
Currently in Fedora WS Wayland Gnome, gtk4 prefers ibus-gtk4
to the Wayland protocol - which causes the candidate window
to be badly placed. (However we need ibus-gtk4 for Xorg sessions.)
Seems a workaround might be to patch:
--- ibus-1.5.24/client/gtk4/ibusim.c.orig 2021-07-30 23:12:21.747541875
+0900
+++ ibus-1.5.24/client/gtk4/ibusim.c 2021-07-31 01:55:43.785097447 +0900
@@ -34,10 +34,13 @@ g_io_im_ibus_load (GTypeModule *type_mod
if (!inited) {
ibus_init ();
ibus_im_context_register_type (type_module);
+ /* "wayand" prority is 0 and "gtk-im-context-simple" one is
G_MININT,
+ * "ibus" one is -100 here.
+ */
g_io_extension_point_implement ("gtk-im-module",
IBUS_TYPE_IM_CONTEXT,
"ibus",
- 50);
+ -100);
inited = TRUE;
}
/* make module resident */
But does this cause some problems?
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2054680