I have installed Okular from Snapcraft, initially it didn't work, but then it did, after removing and installing with the Snap Store app.
After a while it stopped working.
~$ okular
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Segmentation fault (core dumped)
I have tried to fix with:
sudo snap refresh okular --devmode --edge
no luck.