Bug 1116291

Summary: [en_US] imsettings-qt pulls in imsettings on Workstation Live causing: can't use any input method in gtk applications for en_US.utf8 locale
Product: [Fedora] Fedora Reporter: anish <apatil>
Component: spin-kickstartsAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: admiller, awilliam, bnocera, bruno, fmuellner, i18n-bugs, jskladan, kalevlember, kevin, mfabian, ofourdan, petersen, pnemade, rstrode, satellitgo, shawn.p.huang, tagoh, tfujiwar, tiagomatos, vanmeeuwen+fedora
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-27 18:02:36 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:
Bug Depends On:    
Bug Blocks: 1043122    
Attachments:
Description Flags
~/.cache/imsettings/log none

Description anish 2014-07-04 07:45:35 UTC
Description of problem:
I am using Fedora-Live-Workstation-x86_64-rawhide-20140702 with GNOME.3.13.3.
I can't use any input method in gtk applications but i could use input methods in terminal.
In terminal if i set export GTK_IM_MODULE=ibus and then open gedit then i can use input method in it 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Using g-c-c, choose Japanse kana kaji as input method
2. Open gedit and try to type characters asa SPACE 
3. 

Actual results:
User could see latin characters

Expected results:
User should see Japanese characters 

Additional info:

Comment 1 Jens Petersen 2014-07-04 07:48:27 UTC
Reproduced here too.

ja_JP.utf8 desktop is okay but not en_US.utf8 locale.

Comment 2 Jens Petersen 2014-07-04 07:54:03 UTC
But this also seems to happen on MATE so moving to ibus.

Comment 3 fujiwara 2014-07-04 08:29:01 UTC
(In reply to anish from comment #0)
> In terminal if i set export GTK_IM_MODULE=ibus and then open gedit then i
> can use input method in it 

Transferring to imsettings.

Comment 4 Jens Petersen 2014-07-04 08:57:18 UTC
After having run im-chooser to turn on ibus in Mate,
I seem no longer to reproduce in Gnome...

Comment 5 Jens Petersen 2014-07-04 09:15:51 UTC
Created attachment 914658 [details]
~/.cache/imsettings/log

imsettings log file from another a/c where im-chooser has not been
run and can still reproduce problem under en_US.utf8

Comment 6 Akira TAGOH 2014-07-07 04:22:13 UTC
(In reply to Jens Petersen from comment #4)
> After having run im-chooser to turn on ibus in Mate,
> I seem no longer to reproduce in Gnome...

because imsettings manually sets GTK_IM_MODULE according to .xinputrc. the difference is whether it is ibus or gtk-im-context-simple.

Updates from the conversation on irc last week:
This happens because imsettings-gsettings sub-package is missing. so imsettings figured out/can't determine if the desktop has the gtk support.

I don't know why it didn't get pulled in. need to check that.

Comment 7 Akira TAGOH 2014-07-07 05:58:30 UTC
https://kojipkgs.fedoraproject.org//work/tasks/8744/7108744/fedora-live-workstation-7426bd8.ks

Apparently the kickstart file explicitly dropped imsettings-* packages.

Comment 8 Jens Petersen 2014-07-07 08:01:40 UTC
(In reply to Akira TAGOH from comment #7)
> Apparently the kickstart file explicitly dropped imsettings-* packages.

Can you give the argument for having imsettings installed under GNOME?

Comment 9 Akira TAGOH 2014-07-07 10:44:27 UTC
s/imsettings-*/imsettings*/

Given that they want to drop imsettings* packages completely, they need to add `-imsettings-qt' into the kickstart file as well to drop it too, because they explicitly add qt there and it pulls imsettings-qt in according to the comps.

% rpm -q --whatrequires imsettings
im-chooser-common-1.6.4-3.fc21.x86_64
% rpm -q --whatrequires im-chooser-common
im-chooser-1.6.4-3.fc21.x86_64
% rpm -q --whatrequires im-chooser
imsettings-qt-1.6.7-3.fc21.x86_64

(In reply to Jens Petersen from comment #8)
> (In reply to Akira TAGOH from comment #7)
> > Apparently the kickstart file explicitly dropped imsettings-* packages.
> 
> Can you give the argument for having imsettings installed under GNOME?

Is it time to drop it completely maybe? dunno.

Anyway I don't have anything I can do in imsettings for this. reassigning to spin-kickstarts.

Comment 10 Jens Petersen 2014-07-09 06:35:44 UTC
Okay I just committed a fix to fedora-workstation-packages.ks
which should hopefully fix this.

https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?id=ba1430e757abdc25814f567cf819c317bae7f016

Comment 11 Josef Skladanka 2014-08-20 16:29:43 UTC
Discussed in 2014-08-20 Freeze Exception Review Meeting [1].

AcceptedFreezeException - Without proper input method support, many users would be unable to test Alpha.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2013-08-20/

Comment 12 Jens Petersen 2014-08-21 04:50:55 UTC
Looks fine to me with Fedora-Live-Workstation-x86_64-21-20140820.iso

Comment 13 Adam Williamson 2014-08-27 18:02:36 UTC
Let's close it, then. VERIFIED status doesn't mean much without bodhi.