ibus-hangul-1.1.0.20090328-1.fc11.x86_64 ibus-1.1.0.20090331-1.fc11.x86_64 Currently candidate selection arrow key behavior is wrong. Up/Down and Left/Right need to be swapped respectively. Vertical Current Behavior ========================= * Up/Down arrows switch to the next page of candidates. * Left/Right arrows select candidates on the current page. * PgUp/PgDn switch to the next page of candidates. Vertical Expected Behavior ========================== * Up/Down arrows select candidates on the current page. * Left/Right arrows switch to the next page of candidates. * PgUp/PgDn switch to the next page of candidates. Similarly candidate selection when ibus-hangul is in horizontal mode is backwards.
This patch makes it behave properly for Vertical candidate selection mode, which is the only mode that matters. Windows has only vertical mode. MacOS defaults to vertical but has a horizontal option. Separate Bug #493687 would make our ibus-hangul default to vertical mode. --- ibus-hangul-1.1.0.20090328.orig/src/engine.c 2009-04-06 16:21:46.663081165 -0400 +++ ibus-hangul-1.1.0.20090328/src/engine.c 2009-04-06 16:50:00.163321101 -0400 @@ -384,19 +384,19 @@ ibus_hangul_engine_commit_current_candidate (hangul); ibus_hangul_engine_close_lookup_table (hangul); - } else if (keyval == IBUS_Left) { + } else if (keyval == IBUS_Up) { ibus_lookup_table_cursor_up (hangul->table); ibus_hangul_engine_update_lookup_table (hangul); ibus_hangul_engine_update_auxiliary_text (hangul); - } else if (keyval == IBUS_Right) { + } else if (keyval == IBUS_Down) { ibus_lookup_table_cursor_down (hangul->table); ibus_hangul_engine_update_lookup_table (hangul); ibus_hangul_engine_update_auxiliary_text (hangul); - } else if (keyval == IBUS_Up) { + } else if (keyval == IBUS_Left) { ibus_lookup_table_page_up (hangul->table); ibus_hangul_engine_update_lookup_table (hangul); ibus_hangul_engine_update_auxiliary_text (hangul); - } else if (keyval == IBUS_Down) { + } else if (keyval == IBUS_Right) { ibus_lookup_table_page_down (hangul->table); ibus_hangul_engine_update_lookup_table (hangul); ibus_hangul_engine_update_auxiliary_text (hangul);
It is better to submit this patch to author of ibus-hangul.