Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1671187

Summary: qt5: ibus.conf does not set QT_IM_MODULE with qt5 ibus module in RHEL 7
Product: Red Hat Enterprise Linux 7 Reporter: Jens Petersen <petersen>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: ljanda, mkrajnak, petersen, psatpute, qe-i18n-bugs, smaitra
Target Milestone: rcKeywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ibus-1.5.17-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:10:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2019-01-31 02:30:02 UTC
Description of problem:
/etc/X11/xinit/xinput.d/ibus.conf only checks for qt4 immodule not qt5.
Hence if ibus-qt is not installed but qt5 is, ibus fallbacks back to XIM,
which I couldn't get to work with the (nonfree) qt5 app I tried.

Version-Release number of selected component (if applicable):
ibus-1.5.17-2.el7

How reproducible:
100%

Steps to Reproduce:
1. install qt5-qtbase-gui-5.9.2-3.el7
2. try to use ibus in qt5 app

Actual results:
IM seems not working

Expected results:
ibus working normally

Additional info:
Workaround is to install ibus-qt and restart desktop.

Comment 1 fujiwara 2019-01-31 03:53:02 UTC
/etc/X11/xinit/xinput.d/ibus.conf needs to be copied from Fedora to RHEL 7:
https://src.fedoraproject.org/rpms/ibus/blob/master/f/ibus-xinput

qt5-qtbase was not available in RHEL 7.0 but it's available in the latest 7.y and ibus.conf also needs to be updated.

Comment 3 fujiwara 2019-01-31 09:28:02 UTC
I don't think this is a high priority. You can export QT_IM_MODULE=ibus by manual.

Comment 9 fujiwara 2019-02-06 13:43:04 UTC
I don't think the current sublime works with ibus but I think sublime has to be rebuilt to be able to load Qt IM modules.

Comment 14 errata-xmlrpc 2019-08-06 13:10:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2251