Bug 2084202

Summary: IBus japanese input method, Anthy, doesn't show kanji suggestions
Product: [Fedora] Fedora Reporter: Samuel Bautista <sameyepatch>
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: i18n-bugs, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-12 03:00:12 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:

Description Samuel Bautista 2022-05-11 16:06:09 UTC
Description of problem:
Anthy doesn't show kanji suggestions when typing (ex. typing おとこ won't suggest the kanji 男, or any kanji for that matter). Using tab or the up/down keys won't show the kanji candidate dropdown. IBus-anthy preferences have been kept as default since Fedora was first installed, and the "Candidate Window Page Size" setting has 10, so it should suggest words as one types.

This issue is not about word candidates regarding usage, but about being unable to write any word with kanji.

Mozc for IBus, on the other hand, does show kanji candidates as intended.

Version-Release number of selected component (if applicable):
anthy-unicode-1.0.0.20211224-4.fc36.x86_64
ibus-anthy-1.5.14-4.fc36.x86_64
ibus-anthy-python-1.5.14-4.fc36.noarch
ibus-1.5.26-4.fc36.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Enable IBus, and anthy in the IBus preferences as input method for Japanese
2. Switch to the Japanese IME then start typing in a window that expects an input

Actual results:
Word and kanji suggestions don't appear below typed words, so there's no way to use words with Kanji or Katakana, only Hiragana.

Expected results:
As one begins typing each word, kanji word suggestions should start appearing below that can be navigated with the arrow keys and selected with the Intro key

Additional info:
Fedora Linux 36 (Xfce) x86_64
Kernel 5.17.6-300.fc36.x86_64
Xfce 4.16 Xfwm4

I previously reported this as bug #2035584[0], but it was closed as 'NOTABUG' since I failed to explain that this was not an issue about word usage suggestions. Hopefully this time my explanation is better.

[0]: https://bugzilla.redhat.com/show_bug.cgi?id=2035584

Comment 1 fujiwara 2022-05-12 03:00:12 UTC
You have to commit 男 at first before you use ibus-anthy prediction in your case and then ibus-anthy predtion can get 男 with the Hiragana + Tab.

Comment 2 Jens Petersen 2022-05-12 04:47:23 UTC
The key to trigger kanji conversion is Space (not Tab, nor Up/Down).

I just tried in F36 XFCE Live: I enabled ibus with im-chooser and added Anthy in ibus-setup (though it segfaulted when closing).
And Anthy input seems to be working normally for me.  Unless you are trying to do something else?

Comment 3 Samuel Bautista 2022-05-12 05:32:21 UTC
Thank you, Jens & fujiwara.

I see, pressing the space after typing the word was the step I was missing, I was used to get the word suggestions drop-down menu as soon as I started typing (as it is the normal behavior with mozc). Sorry I insisted via bug reports.

Comment 4 Jens Petersen 2022-05-12 08:12:05 UTC
Cool, glad you got it working now