Comment 2 for bug 1795649

Revision history for this message
Mingun (alexander-sergey) wrote :

This still a problem in Ubuntu 20.04 and evince 40.4

See https://gitlab.gnome.org/GNOME/evince/-/issues/1642

When using snap-based evince the application state is not saved.

evince 40.4 from the snap of the Ubuntu 20.04 repositories:
  - does not save window position
  - does not save left pane state (it is always closed, after open it is always on the page "Thumbnails")
  - does not save page position
  - zoom seems to be "Fit Width", it seems that this is the default zoom
  - list of recently opened documents always empty

Also snap-based evince does not have an icon in the ubuntu-dock -- standard icon with gear in rhombus is used. evince from the apt has the icon with glasses on the printed list.

When I run evice from the command line I get the following output:

```
$ LC_ALL=C evince
Gtk-Message: 09:41:53.328: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:41:53.399: Failed to load module "canberra-gtk-module"

(evince:154761): GLib-GIO-WARNING **: 09:42:47.490: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

(evince:154761): GLib-GObject-WARNING **: 09:42:47.549: invalid cast from 'GtkFileChooserNative' to 'GtkWidget'
Error registering document: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evince.Daemon was not provided by any .service files
```

evice was installed as
```
sudo snap install evince
```