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