Bug 462191

Summary: reversed if condition in scim's xinput settings script
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: scimAssignee: Peng Huang <phuang>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-13 19:20:42 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:
Attachments:
Description Flags
Patch to fix broken if logic none

Description Dominik 'Rathann' Mierzejewski 2008-09-13 19:14:00 UTC
Created attachment 316673 [details]
Patch to fix broken if logic

Description of problem:
After enabling scim in System->Preferences->Personal->Input Method, scim icon in GNOME notification area remains inactive and hotkeys which enable it have no effect. That's because /etc/X11/xinitrc/xinput.d/scim.conf script fails to set GTK_IM_MODULE to scim/scim-bridge due to reversed if statement logic.

Version-Release number of selected component (if applicable):
scim-1.4.7-23.fc9.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Enable SCIM
2. Re-log
3. Try to activate SCIM using, for example, Ctrl+space
  
Actual results:
Nothing happens.

Expected results:
SCIM's toolbar should appear.

Additional info:
It worked fine in F-8 with scim-1.4.7-7.fc8. Looks like the correct scim.conf was posted in bug 448268, but a broken version made it into the update. Bug 456490 could also be related to this issue.

Comment 1 Dominik 'Rathann' Mierzejewski 2008-09-13 19:20:42 UTC
Looks like I haven't noticed I was looking at -23, not -24. Closing as duplicate, sorry for the noise.

*** This bug has been marked as a duplicate of bug 448268 ***