Open xuzhao9 opened 4 years ago
This is a bug caused by the frontend fcitx5-kkc, as it failed to load the SKK dictionary.
Some further investigations: At https://github.com/ueno/libkkc/blob/master/libkkc/context.vala#L174, the context CLEARS the all dictionaries in the context. When the user quits a program, fcitx5-kkc will deconstruct a Context, which clears the dictionary. The next time a program opens, kkc will lose all the dictionary information.
Now the question is: should kkc State keep the dictionary information even though it destructs, and let the caller handle the dictionary resource?
For example:
The correct result should be: <令和/れいわ>
The correct result should be: <令和/れいわ><時代/じだい>
I am using libkkc 0.3.5+git20190809.b2e5a15-2.1.