Bug 2418564 - ibus error with COSMIC desktop
Summary: ibus error with COSMIC desktop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-03 07:00 UTC by mattias.eriksson
Modified: 2025-12-25 00:53 UTC (History)
3 users (show)

Fixed In Version: ibus-1.5.33-4.fc43
Clone Of:
Environment:
Last Closed: 2025-12-25 00:53:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description mattias.eriksson 2025-12-03 07:00:31 UTC
COSMIC doesn't use Ibus, this causes it to show an error on login. The fix is to disable it for COSMIC-wayland sessions the same way it is disabled for KDE.

In the file /etc/X11/xinit/xinput.d/ibus.conf
Edit line to be:
IMSETTINGS_IGNORE_SESSION=KDE-wayland,COSMIC-wayland


Reproducible: Always

Steps to Reproduce:
1. Install COSMIC
2. Login

Comment 1 Ryan Brue 2025-12-03 17:20:33 UTC
Created a PR in IBus: https://src.fedoraproject.org/rpms/ibus/pull-request/42

Comment 2 fujiwara 2025-12-05 07:51:54 UTC
I'm not sure how you used imsettings but I think COSMIC Wayland does not use X11/xinit.

Did you try the IBus configuration?
https://github.com/ibus/ibus/wiki/WaylandDesktop#cosmic

Comment 3 mattias.eriksson 2025-12-05 08:14:52 UTC
No, I tried this on a fresh Fedora COSMIC install. And from what I understand from https://github.com/pop-os/cosmic-session/issues/110 , ibus is not supported by COSMIC atm. Hence, I think it should be disabled out of the box to avoid errors. A possible more desirable solution would be to fix the root cause and make sure cosmic can start ibus correctly on Fedora, but it sounds like that is a larger fix.

Comment 4 fujiwara 2025-12-05 08:22:49 UTC
> ibus is not supported by COSMIC atm

COSMIC does not support the autostart and the configuration as I liked should work.

Comment 5 fujiwara 2025-12-05 08:28:30 UTC
Ah, ok probably I understand %ibus_xinit_condition should not include the Wayland only sessions in ibus.spec.

Comment 6 fujiwara 2025-12-05 08:31:14 UTC
This is a candidate fix:

diff --git a/ibus.spec b/ibus.spec
index f78a3041..5e58999c 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
 %bcond_with    gtk4
 %endif
 
-%global ibus_xinit_condition %ibus_panel_condition
+%global ibus_xinit_condition (%pcd1 or %pcd2 or %pcd3)
 # FIXME: How to write a condition with multiple lines
 %global ibus_panel_condition (%pcd1 or %pcd2 or %pcd3 or %pcd4)
 %global pcd1 budgie-desktop or cinnamon or deepin-desktop or i3

Comment 7 Fedora Update System 2025-12-22 01:03:40 UTC
FEDORA-2025-13d6b5c38d (ibus-1.5.33-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-13d6b5c38d

Comment 8 Fedora Update System 2025-12-23 01:10:59 UTC
FEDORA-2025-13d6b5c38d has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-13d6b5c38d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-13d6b5c38d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-12-25 00:53:01 UTC
FEDORA-2025-13d6b5c38d (ibus-1.5.33-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.