https://bugzilla.redhat.com/show_bug.cgi?id=2324342
--- Comment #4 from Mike FABIAN mfabian@redhat.com --- I tested with imsettings-1.8.9-2.1.fc41.x86_64 from https://copr.fedorainfracloud.org/coprs/tagoh/imsettings/ and it fixes the problem.
imsettings-daemon still has XDG_SESSION_TYPE=wayland in its environment after switching from Gnome Wayland to XFCE, but it passes the correct value XDG_SESSION_TYPE=x11 to ibus-daemon which fixes the problem.
i18n-bugs@lists.fedoraproject.org