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 Ubuntu
Desktop Bugs, 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

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to