Ok, after more investigating I could reproduce the issue and narrow down
the problem, for some reason it isn't doing it on my upgraded system but
it is a problem a fresh xubuntu install in a VM and seems to be due to
the fix for bug #1891338

Editing /etc/apparmor.d/usr.bin.evince to delete L72 
'  #include <abstractions/exo-open>'
and then doing
$ sudo aa-enforce evince

seems to make it work again

or a more selective version
- edit /etc/apparmor.d/abstractions/exo-open
- delete the section

  deny dbus send
    bus=session
    path=/org/gtk/vfs/mounttracker,

- $ sudo apparmor_parser -r /etc/apparmor.d/abstractions/exo-open
- $ sudo aa-enforce evince


Alex, from the apparmor changelog adding the exo profile you worked on it, any 
idea about the issue?

Using
$ dbus-monitor --session | grep gvfs

shows that evince fails to talk to gvfs with the apparmor profile loaded
but it works once in complains mode or with the change suggested before

** Changed in: evince (Ubuntu)
       Status: Confirmed => In Progress

** Also affects: apparmor (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1969896

Title:
  Evince Document Viewer(42.0) does not remember last page in 22.04 and
  opens in a tiny window when launched

Status in apparmor package in Ubuntu:
  New
Status in evince package in Ubuntu:
  In Progress

Bug description:
  Just switched from Ubuntu 20.04 to 22.04 and realized that Document
  Viewer no longer open on the last viewed page and doesn't remember the
  side pane preference even after using the "Save Current Settings as
  Default" option. Kindly advise

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: evince 42.1-3
  ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
  Uname: Linux 5.15.0-25-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Apr 22 15:58:50 2022
  InstallationDate: Installed on 2022-03-19 (34 days ago)
  InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to jammy on 2022-04-21 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1969896/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to