[snap] libreoffice fileselectors does not show thumb drives

Bug #1905126 reported by Roland Hughes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
New
Undecided
Unassigned

Bug Description

Because of the move to a snap, when one opens the file dialog usb/thumb drives are not shown. For a File->Open you can navigate to /media/user-name/thumb-drive if and only if you personally have mounted the thumb. For those of us writing documentation using screen shots taken on many different systems but all on the same thumb drive this is a real hassle.

Prior to Snap packaging this worked.

I suspect this is a nasty bug in Snap.

roland@roland-amd-desktop:~$ lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04

LibreOffice Writer
Version: 7.0.2.2
Build ID: 3a01483fc371ab18cfca4bab0d636937da5eaf70
CPU threads: 6; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.12
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'182'
 b'org.gnome.nautilus.window-state' b'initial-size' b'(757, 500)'
 b'org.gnome.nautilus.preferences' b'show-directory-item-counts' b"'always'"
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'owner', 'group', 'permissions', 'where', 'date_modified', 'date_modified_with_time', 'date_accessed', 'recency', 'starred', 'detailed_type']"
InstallationDate: Installed on 2020-04-17 (218 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
NonfreeKernelModules: nvidia_modeset nvidia
Package: nautilus 1:3.36.3-0ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65
Tags: focal
Uname: Linux 5.4.0-53-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
usr_lib_nautilus:

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1905126

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Roland Hughes (original-seasoned-geek) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: libreoffice image insert dialog does not show thumb drives

Thank you for your bug report. The fileselector is a GTK widget and not nautilus and it's an issue with the snap. It uses the removable-media interface but that doesn't seem enough to get access to removable keys for some reason?

The journal log has denials access to /proc/<pid>/mountinfo , the mount-observer interface would resolve that but unsure if that's the issue or a redherring

tags: added: snap
affects: nautilus (Ubuntu) → libreoffice (Ubuntu)
summary: - libreoffice image insert dialog does not show thumb drives
+ [snap] libreoffice fileselectors does not show thumb drives
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue would be fixed if the snap was using portals but as described in bug #1881603 that's not trivial since it would require using newer GTK API calls

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

Other bug subscribers

Remote bug watches

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