sailfish-keyboard / sailfishos-presage-predictor

Presage based input predictor for the Sailfish OS
https://openrepos.net/content/sailfishkeyboard/maliit-plugin-presage
GNU General Public License v3.0
7 stars 4 forks source link

Create separate process for listening on DBUS for the clear learned words message #1

Closed martonmiklos closed 6 years ago

martonmiklos commented 7 years ago

There is a button in the settings UI which could be used to clear the learned words. Unfortunately when the user hits this button first the Inputhandler is killed, and the DBUS message is sent only after the plugin destructed.

We have to figure out some other methods (listening on DBUS in a separate process) to clear the word cache properly.