Description of problem: In kana mode which I like, KKC won't let me add words to the dictionary, while in Roma-ji mode, it works fine. Version-Release number of selected component (if applicable): I use Fedora 27, but other version should be applied to. How reproducible: Always. Steps to Reproduce: 1.Select a word (usually kanji word) with mouse. 2.Hit Alt+r (nothing happens then) 3.Enter its reading Actual results: No words are recorded. Expected results: Words are added to the dictionary. Additional info: It works in Romaji-mode.
Correction: It doesn't work either in Romaji-mode.
Could you file this upstream too please? https://github.com/ueno/ibus-kkc/issues
That wouldn't work on Wayland, because the engine process doesn't have a window and thus cannot get a clipboard. I have no idea how it could be solved; maybe a protocol modification might be needed at some level, like: https://bugzilla.gnome.org/show_bug.cgi?id=775099
BTW is there any manual workaround? I mean like a way to add words outside pre-edit say.
The manual workaround is to just edit ~/.config/ibus-kkc/dictionaries/segment, though it's cumbersome. Another work around would be to use surrounding-text to mark the committed text (like re-conversion in some other engines) instead of clipboard, though it would require extra key bindings.
I see, thanks. Maybe Alt-R could just popup a dialog to allow the user to add to the dictionary?
Or maybe it is better to handle it inside ibus-setup-kkc?