Bug 488675
Summary: | accelerator keys is ignored | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael <mclroy> |
Component: | imsettings | Assignee: | Akira TAGOH <tagoh> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 10 | CC: | fonts-bugs, i18n-bugs, kevin, roozbeh, tagoh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.105.1-4.fc10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-03-27 14:53:40 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
Michael
2009-03-05 06:23:08 UTC
I strongly suspect: Mar 4 07:11:26 ex yum: Updated: libgxim-0.3.2-3.fc10.i386 Can you apply the update from: https://admin.fedoraproject.org/updates/libgxim-0.3.2-4.fc10 and see if that fixes it? Mar 5 10:06:09 ex yum: Updated: libgxim-0.3.2-4.fc10.i386 No change. It doesn.t help. Odd. Are you 100% sure you restarted fontforge after the above update? [root@ex ~]# uptime 22:31:03 up 4 min, 3 users, load average: 0.42, 0.44, 0.20 [root@ex ~]# rpm -qa | grep "libgxim\|fontforge" fontforge-20080828-1.fc10.i386 libgxim-0.3.2-4.fc10.i386 [root@ex ~]# I have even restarted the OS. No change. Well. I lied from the start. It seems that Shift and Alt work actually. Though no other key works. No Ctrl-S, Ctrl-Z, or Alt-Ctrl-Shift-+, etc. The mouse still works well. I mean Shift and Alt work with the mouse but not in combination with other keys. I'm at a loss what could have happened... fontforge in f10 hasn't changed in quite a while. ;( Can you get the older version of libgxim from: http://koji.fedoraproject.org/koji/buildinfo?buildID=67227 and do a 'rpm -Uvh libgxim*.rpm --oldpackage --replacepkgs' on it to go back to that version, then restart fontforge and see if it's working? This one: http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/libgxim-0.3.1-1.fc10.i386.rpm [root@ex libgxim]# rpm -Uvh --oldpackage libgxim-0.3.1-1.fc10.i386.rpm Preparing... ########################################### [100%] 1:libgxim ########################################### [100%] [root@ex libgxim]# Restarting just fontforge didn't help. I had to restart the OS: [root@ex ~]# uptime 18:00:45 up 1 min, 2 users, load average: 2.20, 0.88, 0.32 [root@ex ~]# rpm -qi libgxim Name : libgxim Relocations: (not relocatable) Version : 0.3.1 Vendor: Fedora Project Release : 1.fc10 Build Date: Thu 23 Oct 2008 05:02:13 PM MSD Install Date: Sat 07 Mar 2009 05:22:44 PM MSK Build Host: xenbuilder2.fedora.redhat.com Group : System Environment/Libraries Source RPM: libgxim-0.3.1-1.fc10.src.rpm Size : 393586 License: LGPLv2+ Signature : DSA/SHA1, Wed 29 Oct 2008 06:58:58 AM MSK, Key ID bf226fcc4ebfc273 Packager : Fedora Project URL : http://code.google.com/p/libgxim/ Summary : GObject-based XIM protocol library Well. Now it works. My fontforge is back! What's next? I'm reassigning this to libgxim. That looks like a bug in XIM handling code in fontforge. there are a feature to keep IM turned on but to be able to input ASCII in scim-anthy say. in this mode, I can't use shortcut keys nor accelerator keys on fontforge as well. This is a well known issue to deal with key events. in GTK+, they resolve a kind of this issue checking accelerators before forwarding them to IM. though that way introduces another issue that keybindings in IM that acts with a prefix key for accelerators doesn't work. I'd say this isn't a libgxim nor imsettings bugs but should be an application bug, fontforge in this case since this happens without libgxim/imsettings. moreover accelerator keys actually works in the file dialog. guess that's probably because the entry box picks up the filtered event and process accelerators. Anyway until now no one who uses IM didn't just complain and libgxim didn't work due to a bug in Fedora 10 GA. However there are a workaround for someone who don't really use IM - although that might affects a performance because all the key events are forwarding synchronously. but in this mode, the key events won't be filtered out unless it's something what IM converts from the key events. I've built a testing package with the above workaround. please test it carefully. I'm not sure if this workaround should be enabled by default because that may affects a performance since all of keyevents will be sent synchronously. i.e. XFilterEvent just waits for a response and deal with it straightforward. Testing package is: http://koji.fedoraproject.org/koji/taskinfo?taskID=1230892 To turn off a workaround: % gconftool-2 -t bool -s /apps/imsettings-applet/sync_on_forward false > That looks like a bug in XIM handling code in fontforge. ... Though it's strange to me that fontforge worked well until the impact of libgxim-0.3.2-3.fc10.i386. Well. Now I'm again up to date with the latest version of libgxim: [root@ex ~]# rpm -qi libgxim Name : libgxim Relocations: (not relocatable) Version : 0.3.2 Vendor: Fedora Project Release : 4.fc10 Build Date: Tue 03 Mar 2009 05:41:07 PM MSK Install Date: Mon 09 Mar 2009 03:13:54 PM MSK Build Host: xenbuilder2.fedora.redhat.com Group : System Environment/Libraries Source RPM: libgxim-0.3.2-4.fc10.src.rpm Size : 395396 License: LGPLv2+ Signature : DSA/SHA1, Wed 04 Mar 2009 04:28:51 PM MSK, Key ID bf226fcc4ebfc273 and once again fontforge doesn't work anymore: [mike@ex ~]$ rpm -qi fontforge Name : fontforge Relocations: (not relocatable) Version : 20080828 Vendor: Fedora Project Release : 1.fc10 Build Date: Thu 04 Sep 2008 12:11:37 AM MSD Install Date: Fri 16 Jan 2009 05:18:31 AM MSK Build Host: xenbuilder2.fedora.redhat.com Group : Applications/Publishing Source RPM: fontforge-20080828-1.fc10.src.rpm Size : 16289975 License: BSD Ok. I take the testing package and install it: http://koji.fedoraproject.org/koji/getfile?taskID=1230895&name=imsettings-0.105.1-3.fc10.1.i386.rpm http://koji.fedoraproject.org/koji/getfile?taskID=1230895&name=imsettings-libs-0.105.1-3.fc10.1.i386.rpm [root@ex libgxim]# rpm -Uhv imsettings-0.105.1-3.fc10.1.i386.rpm imsettings-libs-0.105.1-3.fc10.1.i386.rpm Preparing... ########################################### [100%] 1:imsettings-libs ########################################### [ 50%] 2:imsettings ########################################### [100%] [root@ex libgxim]# [mike@ex ~]$ rpm -qi imsettings Name : imsettings Relocations: (not relocatable) Version : 0.105.1 Vendor: Fedora Project Release : 3.fc10.1 Build Date: Mon 09 Mar 2009 11:06:19 AM MSK Install Date: Mon 09 Mar 2009 03:46:10 PM MSK Build Host: x86-3.fedora.phx.redhat.com Group : Applications/System Source RPM: imsettings-0.105.1-3.fc10.1.src.rpm Size : 458796 License: LGPLv2+ I guess I have to restart thanks it doesn't take much time. Yes. Fontforge now works with: [mike@ex ~]$ gconftool-2 --get /apps/imsettings-applet/sync_on_forward true ========================================================= It's strange still that even after the restart: [mike@ex ~]$ uptime 16:08:59 up 1 min, 2 users, load average: 1.50, 0.47, 0.16 [mike@ex ~]$ I have: [mike@ex ~]$ gconftool-2 --get /apps/imsettings-applet/sync_on_forward true [mike@ex ~]$ fontforge test.sfd & But fontforge still doesn't work and I have to issue: [mike@ex ~]$ gconftool-2 -t bool -s /apps/imsettings-applet/sync_on_forward true After that fontforge works well: [mike@ex ~]$ fontforge test.sfd & Though there's no obvious change: [mike@ex ~]$ gconftool-2 --get /apps/imsettings-applet/sync_on_forward true [mike@ex ~]$ The deal is quite tricky. Thank you for testing. (In reply to comment #11) > Though it's strange to me that fontforge worked well until the impact of > libgxim-0.3.2-3.fc10.i386. I should do check a reproducibility on -1.fc10 first but I didn't do that but just confirmed a issue on new one. so just reverted now. but I still see this issue with even old libgxim. if you can still see fontforge working back by downgrading libgxim, please try: % killall imsettings-applet % LIBGXIM_DEBUG=all imsettings-applet --disable-xsettings and run fontforge on other terminal say. I guess any keyevents isn't sending through imsettings-applet then. > But fontforge still doesn't work and I have to issue: > > [mike@ex ~]$ gconftool-2 -t bool -s /apps/imsettings-applet/sync_on_forward > true > > After that fontforge works well: > > [mike@ex ~]$ fontforge test.sfd & > > Though there's no obvious change: > > [mike@ex ~]$ gconftool-2 --get /apps/imsettings-applet/sync_on_forward > true > [mike@ex ~]$ > > The deal is quite tricky. Okay. let me have a look at that. and probably push the updates with other fixes as well. imsettings-0.105.1-4.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/imsettings-0.105.1-4.fc10 imsettings-0.105.1-4.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update imsettings'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2843 The update is unavailable yet: [root@ex ~]# rpm -qa | grep imsettings imsettings-0.105.1-3.fc10.1.i386 imsettings-libs-0.105.1-3.fc10.1.i386 [root@ex ~]# yum --enablerepo=updates-testing update imsettings Loaded plugins: refresh-packagekit Setting up Update Process No Packages marked for Update [root@ex ~]# Fontforge seems to be ok now with the patch: $ rpm -qa | grep imsettings imsettings-libs-0.105.1-4.fc10.i386 imsettings-0.105.1-4.fc10.i386 Great. Thank you for testing. imsettings-0.105.1-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |