evince from snap doesn't save position in pdf document

Bug #1795649 reported by Reverend Homer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evince
New
Unknown
evince (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

I've installed evince 3.30.0 (46) via "sudo snap install evince" on Ubuntu 18.04. Every time I'm running evince and opening pdf document, it opens the document on the first page, though I closed the document on the different page.

I can't reproduce that issue with evince installed via apt, so I think this is a snap-specific issue.

Also, every time I'm opening the document, evince prints the error:
Error registering document: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evince.Daemon was not provided by any .service files

Tags: snap
tags: added: snap
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evince (Ubuntu):
status: New → Confirmed
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
```

Changed in evince (Ubuntu):
importance: Undecided → Low
Changed in evince:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.