Bug 670137

Summary: ibus.conf should has QT_IM_MODULE=xim if ibus-qt isn't installed
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 08:39:05 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:

Description Akira TAGOH 2011-01-17 10:20:31 UTC
Description of problem:
currently ibus.conf doesn't set anything to QT_IM_MODULE if ibus-qt package isn't installed. this behaviour is unpredictable. that would be better set xim to it to ensure its working.

Version-Release number of selected component (if applicable):
ibus-1.3.99.20101202-5.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1.log into the desktop without ibus-qt package
2.see $QT_IM_MODULE.
3.
  
Actual results:
No QT_IM_MODULE is set.

Expected results:
should have xim.

Additional info:

Comment 1 fujiwara 2011-01-18 03:01:35 UTC
index 3eec7fd..760f86f 100644
--- a/xinput-ibus
+++ b/xinput-ibus
@@ -10,4 +10,6 @@ if test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so || \
    test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so;
 then
     QT_IM_MODULE=ibus
+else
+    QT_IM_MODULE=xim
 fi