** Description changed:

- 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
+ [Impact]
  
- 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)
+  * Evince does not behave as expected and launches with a very small
+ window resulting in a poor user experience
+ 
+  * Fixing this requires only a minor change to the exo-open abstraction
+ and results in correctly functioning evince
+ 
+  * By removing the dbus deny rule in the exo-open abstraction, evince is
+ able to correctly communicate with gvfs and start up as normal
+ 
+ [Test Plan]
+ 
+  * Start dbus-monitor to watch for AppArmor denials
+  
+  $ dbus-monitor --session | grep AppArmor
+ 
+  * Launch evince and there should be no AppArmor message shown above
+ from dbus-monitor
+ 
+ [Where problems could occur]
+ 
+  * By removing this deny rule from the exo-open abstraction, AppArmor
+ will be more permissive for anything which uses the exo-open abstraction
+ and potentially allow it access to gvfs where it did not before.
+ 
+  * This should not result in any regressions as we are granting extra
+ functionality which wasn't allowed before, however perhaps in the case
+ of an application which expects *not* to be able to use gvfs as this was
+ previously explicitly denied, it may now be able to (if it has a less
+ specific allow rule) and hence it may function differently than before.
+ 
+ [Other Info]
+  
+  * Whilst on the surface by removing this deny rule it may appear that this 
grants additional permissions to anything which uses the exo-open abstraction, 
this is not necessarily true as AppArmor denies all accesses by default unless 
explicitly allowed by a profile. And so in general this will not grant 
permission to use a DBus interface that an application did not have before. 
However, due to the way that deny rules take precedence over allow rules in 
AppArmor, if an application had been allowed generic dbus access to the user's 
session bus, the previous deny rule in the exo-open abstraction would then have 
denied them access to just gvfs via dbus. With this new proposed change, this 
is not explicitly denied and so is now allowed as expected. But for applcations 
which may have used the exo-open abstraction and which did *not* have DBus 
access before, this change will not result in them obtaining DBus access either.

-- 
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