[go: up one dir, main page]

Print preview not functional in snap distribution

Migrated from https://bugs.launchpad.net/inkscape/+bug/1808645

Steps to reproduce:

  1. snap run inkscape
  2. File > Print...
  3. Click the "Preview" button

What happened?

Nothing.

What should have happened?

Print Preview.

Inkscape Version and Operating System:

  • Inkscape Version: 0.92+devel (a2ed0d20, 2018-12-14)
  • Operating System: Ubuntu
  • Operating System version: 18.04

Additional Notes

From console:

(inkscape:23034): Gtk-WARNING **: 01:21:52.411: Error launching preview: Failed to execute child process “evince” (No such file or directory)
env: ‘/snap/bin/inkscape’: No such file or directory

Ship gtk-print-preview-command="/usr/bin/xdg-open %f" gtkrc setting should probably fix this issue, not sure if it applies to Gtk3 though.

林博仁(Buo-ren, Lin) (buo-ren-lin) wrote on 2018-12-15:

Also filed here:

Fixing print preview in Gtk · Issue 168 · ubuntu/snapcraft-desktop-helpers https://github.com/ubuntu/snapcraft-desktop-helpers/issues/168


Possibly-related issue on GitLab: