[Bug 1794064] [NEW] Clicking a hyperlink in a PDF fails to open it if the default browser is a snap

Launchpad Bug Tracker 1794064 at bugs.launchpad.net
Wed Nov 1 18:38:21 UTC 2023


You have been subscribed to a public bug by Georgia Garcia (georgiag):

[Impact]

 * Users cannot open a hyperlink in a PDF opened with evince when the default browser is a snap.
 * The fix creates a snap_browsers abstraction on AppArmor which can be used in a transition for when the browser is executed. The snap_browsers abstraction provides the minimal amount of permissions required to execute a browser provided through snaps. This is a workaround since AppArmor currently does not provide mediation/filtering on enhanced environment variables.

[Test Plan]

 * Make sure the default browser is provided through the snap store.
 * Open a PDF that contains a hyperlink using evince and click on the URL.
 * The browser should open the requested URL. 

[Where problems could occur]

 * If the browser or snap core update to have new requirements for
opening a browser, then the current policy could become obsolete and
will need to be updated again.

** Affects: apparmor (Ubuntu)
     Importance: High
     Assignee: Georgia Garcia (georgiag)
         Status: Fix Released

** Affects: evince (Ubuntu)
     Importance: High
         Status: Fix Released

** Affects: apparmor (Ubuntu Jammy)
     Importance: High
         Status: Fix Committed

** Affects: evince (Ubuntu Jammy)
     Importance: High
         Status: In Progress

** Affects: apparmor (Ubuntu Lunar)
     Importance: Undecided
         Status: Fix Released

** Affects: evince (Ubuntu Lunar)
     Importance: High
         Status: Fix Released

** Affects: apparmor (Debian)
     Importance: Unknown
         Status: Fix Released

** Affects: evince (Debian)
     Importance: Unknown
         Status: Confirmed


** Tags: amd64 apport-bug cosmic desktop-lts-wishlist snap verification-done-lunar verification-needed verification-needed-jammy
-- 
Clicking a hyperlink in a PDF fails to open it if the default browser is a snap
https://bugs.launchpad.net/bugs/1794064
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list