Bug 493509 - [PATCH] ibus-hangul missing right Ctrl for Hanja button
Summary: [PATCH] ibus-hangul missing right Ctrl for Hanja button
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-hangul
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peng Huang
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F11Blocker, F11FinalBlocker 481098
TreeView+ depends on / blocked
Reported: 2009-04-02 02:45 UTC by Warren Togami
Modified: 2009-04-13 18:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-04-13 18:58:11 UTC

Attachments (Terms of Use)

Description Warren Togami 2009-04-02 02:45:38 UTC
Windows XP and Windows Vista with US keyboard layout.

* right-Alt acts as Hangul/English button.  It does not dismiss the language bar.  It only switches between 한 and En.
* right-CTRL acts as Hanja button.

We need this by default because it is very common for Koreans with US keyboards to expect this interface.

Comment 1 Warren Togami 2009-04-06 20:48:54 UTC
diff -urN ibus-hangul- ibus-hangul-
--- ibus-hangul-	2009-03-26 01:50:18.000000000 -0400
+++ ibus-hangul-	2009-04-06 16:20:44.935321507 -0400
@@ -450,7 +450,7 @@
     if (keyval == IBUS_Shift_L || keyval == IBUS_Shift_R)
         return FALSE;
-    if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja) {
+    if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja || keyval == IBUS_Control_R) {
 	ibus_hangul_engine_toggle_lookup_table (hangul);
 	return TRUE;

This makes it work for the non-Korean keyboard Hanja conversion button.  Filing the right Alt Han/En button as a separate bug since it requires more work.

Note You need to log in before you can comment on or make changes to this bug.