Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2232064

Summary: unset GTK_IM_MODULE and QT_IM_MODULE for Plasma Wayland
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: imsettingsAssignee: Akira TAGOH <tagoh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: i18n-bugs, ngompa13, tagoh, tfujiwar
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: imsettings-1.8.4-1.fc40 imsettings-1.8.4-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2233527 (view as bug list) Environment:
Last Closed: 2023-08-22 12:19:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2233527    

Description Jens Petersen 2023-08-15 06:57:39 UTC
With ibus-1.5.29 in Fedora 29, QT_IM_MODULE and GTK_IM_MODULE should no longer be set for KDE Plasma Wayland.

Can you make such a change to imsettings, please?

Without that the behavior of ibus in Plasma Wayland is really bad.
(This change should not be made for Plasma X11.)

Reproducible: Always

Steps to Reproduce:
1. env | grep MODULE
Actual Results:  
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus

Expected Results:  
GTK_IM_MODULE and QT_IM_MODULE to be unset in Plasma Wayland

Related to https://fedoraproject.org/wiki/Changes/IBus_1.5.29

Comment 1 Akira TAGOH 2023-08-15 07:44:31 UTC
Do we still need it for X11, right?

Comment 2 fujiwara 2023-08-15 08:18:00 UTC
(In reply to Akira TAGOH from comment #1)
> Do we still need it for X11, right?

Yes, we do.

Comment 3 Akira TAGOH 2023-08-17 14:01:21 UTC
One more question. This report requests to unset GTK_IM_MODULE too. does IBus 1.5.29 work without GSettings and GTK_IM_MODULE on Plasma-wayland?

Comment 4 fujiwara 2023-08-18 02:20:19 UTC
(In reply to Akira TAGOH from comment #3)
> One more question. This report requests to unset GTK_IM_MODULE too. does
> IBus 1.5.29 work without GSettings and GTK_IM_MODULE on Plasma-wayland?

Yes, it does. Those environment variables need to be unset.

Comment 5 Jens Petersen 2023-08-21 16:04:15 UTC
Seems imsettings-plasma was dropped from @input-methods:

https://pagure.io/fedora-comps/c/7553747fb0e4c1c6b97935dde1443e27de5fa3da?branch=main
https://pagure.io/fedora-comps/c/98e56a9cf0425b76e9a0e8237113d87ad0b4cafa?branch=main

So we may need to retest but this could this affect Plasma X11 aversely?

Comment 6 Neal Gompa 2023-08-21 18:16:21 UTC
The way this gets set needs to be changed then to only activate when a Plasma X11 session is used. It currently does it unconditionally.

Comment 7 Akira TAGOH 2023-08-22 02:33:54 UTC
I'm going to update imsettings for this.

Comment 8 Fedora Update System 2023-08-22 12:16:41 UTC
FEDORA-2023-adec06104c has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-adec06104c

Comment 9 Fedora Update System 2023-08-22 12:19:15 UTC
FEDORA-2023-adec06104c has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-08-22 12:38:05 UTC
FEDORA-2023-989df31081 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-989df31081

Comment 11 Fedora Update System 2023-08-22 12:40:17 UTC
FEDORA-2023-989df31081 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Akira TAGOH 2023-08-22 14:16:07 UTC
Just a note
To get this fixed completely, we need to update ibus.conf too

See #2233527

Comment 13 Jens Petersen 2023-08-24 11:52:00 UTC
Working well so so far, thank you!!