local documentation is not accessible from the chromium snap

Bug #1875860 reported by Matthias Klose
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
snapd
Fix Released
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.

Tags: regression
Revision history for this message
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
Revision history for this message
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)
Changed in snapd:
milestone: none → 2.46
Zygmunt Krynicki (zyga)
Changed in snapd:
importance: Undecided → Low
Revision history for this message
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/*

Revision history for this message
Olivier Tilloy (osomon) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Added back, now that snapd 2.46 is out, and I requested a store assertion for auto-connection (https://forum.snapcraft.io/t/auto-connecting-the-system-packages-doc-interface-for-the-chromium-snap/20249).

Changed in snapd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.