Clicking a hyperlink in a PDF fails to open it if the default browser is a snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Debian) |
Fix Released
|
Unknown
|
|||
apparmor (Ubuntu) |
Fix Released
|
High
|
Georgia Garcia | ||
Jammy |
Fix Committed
|
High
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
evince (Debian) |
Confirmed
|
Unknown
|
|||
evince (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
In Progress
|
High
|
Unassigned | ||
Lunar |
Fix Released
|
High
|
Unassigned |
Bug Description
[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.
tags: | added: snap |
Changed in evince (Ubuntu): | |
importance: | Undecided → High |
Changed in evince (Ubuntu): | |
status: | New → Confirmed |
Changed in evince (Ubuntu): | |
status: | Confirmed → Triaged |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in evince (Ubuntu): | |
assignee: | Jamie Strandboge (jdstrand) → nobody |
Changed in evince (Ubuntu): | |
assignee: | nobody → Georgia Garcia (georgiag) |
Changed in evince (Debian): | |
status: | Unknown → New |
tags: | added: rls-jj-incoming |
tags: | added: desktop-lts-wishlist |
Changed in evince (Ubuntu): | |
assignee: | Georgia Garcia (georgiag) → James Henstridge (jamesh) |
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Georgia Garcia (georgiag) |
description: | updated |
tags: | removed: rls-jj-incoming |
Changed in apparmor (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in evince (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in evince (Debian): | |
status: | New → Confirmed |
Changed in evince (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in evince (Ubuntu Jammy): | |
status: | Incomplete → Confirmed |
Changed in evince (Ubuntu Lunar): | |
status: | New → Confirmed |
Changed in apparmor (Ubuntu Lunar): | |
status: | New → Confirmed |
Changed in evince (Ubuntu Lunar): | |
status: | Confirmed → In Progress |
Changed in evince (Ubuntu): | |
status: | Confirmed → Fix Committed |
assignee: | James Henstridge (jamesh) → nobody |
Changed in evince (Ubuntu Lunar): | |
importance: | Undecided → High |
Changed in evince (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
Changed in apparmor (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
Changed in apparmor (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in apparmor (Ubuntu Lunar): | |
status: | Confirmed → In Progress |
Changed in apparmor (Debian): | |
status: | Unknown → New |
Changed in apparmor (Debian): | |
status: | New → Fix Committed |
Changed in apparmor (Debian): | |
status: | Fix Committed → Fix Released |
Note that this works with the evince snap, only the deb package is affected.