Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kolibri daemon should be restarted after installing updates #78

Open
dylanmccall opened this issue Dec 12, 2022 · 0 comments
Open

Kolibri daemon should be restarted after installing updates #78

dylanmccall opened this issue Dec 12, 2022 · 0 comments

Comments

@dylanmccall
Copy link
Collaborator

When Kolibri is updated, the daemon continues to run in the background until a period of inactivity. This can be problematic, because:

  • Using desktop search counts as activity.
  • Sometimes, Kolibri updates will result in the frontend having changes that are incompatible with the backend.
  • Sometimes, the user will intentionally update Kolibri to a particular version, such as switching from the stable branch to the beta branch, and it is reasonable to expect that stopping the app and starting it again will result in the new version of Kolibri (as in the backend) being started.

To sort this out, we can probably use the org.freedesktop.portal.Flatpak.UpdateMonitor portal API, and / or add some code to the Kolibri frontend that will detect when the backend is a different version and respond accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant