[Fedora-i18n-bugs] [Bug 494445] ibus-hangul missing right-Alt or Hangul Han/En mode

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 13 08:02:23 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=494445





--- Comment #4 from Huang Peng <phuang at redhat.com>  2009-04-13 04:02:23 EDT ---
Using Alt_R press key event as trigger will conflict some menu keyboard
shortcut. Like: Alt-F for file menu. We can only use Alt_R release key event
(Release + Alt_R)as the trigger. But it still has a problem.
Please consider the below case.
When user press Alt+F, ibus will receive events like Alt_R press, F press, F
release, Alt release.  In this case, we should consider the last Alt release
event as trigger hotkey. IBus use below logic to check this case.

if (modifier & ReleaseMask) and (keyval == previous_keyval == Key_XX) then
    do trigger
else
    ignore

This logic works for most keys with release modifier except the Alt. When alt
is pressed, the follow key events will not be sent to ibus. (For Alt+F, ibus
only get two event, Alt_R press and Alt_R release, The F key event s are stolen
). I guess the gtk filters key events with Alt modifier. So ibus can not handle
it correctly.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the i18n-bugs mailing list