local documentation is not accessible from the chromium snap

Bug #1875860 reported by Matthias Klose on 2020-04-29
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Low
Zygmunt Krynicki

Bug Description

trying to access

  file:///usr/share/doc/python3-doc/html/index.html

with the chromium snap fails. this is a regression compared to the deb package.

Zygmunt Krynicki (zyga) wrote :

Ogra had the idea to provide a new implicit slot: host-documentation, that once connected would put /usr/share/doc form the host into the snap's mount namespace. Chromium and the other browsers could have a plug to connect to and would allow browsing documentation by default.

Changed in snapd:
status: New → Confirmed
Zygmunt Krynicki (zyga) wrote :
Changed in snapd:
status: Confirmed → In Progress
assignee: nobody → Zygmunt Krynicki (zyga)
Changed in snapd:
status: In Progress → Fix Committed
Zygmunt Krynicki (zyga) on 2020-06-23
Changed in snapd:
milestone: none → 2.46
Zygmunt Krynicki (zyga) on 2020-06-23
Changed in snapd:
importance: Undecided → Low
Zygmunt Krynicki (zyga) wrote :

This has been merged into master and will be released as a part of snapd 2.46

Maintainers of browser snaps should add a new plug to their snaps, called "system-packages-doc", and work with the store team to auto-connect said interface. This will allow to use, for example, Firefox snap to browse local documentation files stored in /usr/share/doc/*

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers