Okular snap stopped working

Might be of interest to someone:

I experienced the same problem as described here:
https://askubuntu.com/questions/1114346/suddenly-okular-will-not-open-any-more

Observations:

  • Changing to candidate channel didn’t fix the problem.
  • It didn’t crash when I ran it in devmode.
  • Removing and installing the snap fixed the problem.

What remains is the question: How can this happen? What’s the purpose of encapsulating snaps with their dependencies, when changes to the main dependency snapd(?) makes them break?

Thanks