Closed rinigus closed 6 years ago
I did fresh install and observed :
installation of the plugin restarted maliit. As a result, the keyboards with Presage support were available
Selection of keyboards was fine, but the keyboards were not made available in practice. I had to restart maliit to make it available in practice
I think it's not ours but keyboard bug. Probably cannot fix and have to report to Jolla.
Suggesting to close it here
Actually, turned out that I had still old layout keyboards around. This made Maliit a bit confused. After proper cleaning
rm -rf .local/shared/presage
rm -rf .presage (not needed in my case)
devel-su
rm /usr/share/maliit/plugins/com/jolla/layouts/*presage*
and reboot, for a good measure, all worked as expected. After install, maliit restarted. Then selected keyboards worked and local n-gram databases were created together with .local/shared/presage
folder. I suspect that SQLite is creating that folder since I cannot find any place where Presage or plugin would do it.
Closing since its fixed by the cleaning from the old install
Writing it here to ensure that we'll not forget it later.
Test whether plugin is able to restart maliit service correctly.
Based on the following comment of @ljo:
@rinigus The testing is on here too since Friday evening. It looks like it required an explicit pkill maliit-server; MALIIT_DEBUG=enabled maliit-server to create the user lang files in ~/.local/share/presage/ with just rebooting it was not working (to get any suggestions, and the local lang files were absent). BTW the path for user local settings is still ~/.presage/presage.xml Thanks for this great work. I look forward to testing the async PR on top of this PR.