After some good hints from Oliver I did some investigation on this
issue. Indeed it looks like the chromium snap is doing the right thing:
it first checks if the D-Bus service "org.freedesktop.portal.Desktop" is
running (if not, it falls back on calling ListActivatableNames, which is
not ideal because this currently gets blocked by AppArmor -- but in my
tests the call to NameHasOwner works, so this path is not even taken),
and then it checks that the "version" property on the
"org.freedesktop.portal.FileChooser" interface is at least 3.

Unfortunately, on my Focal system this version is 2 (version 3 was
released just about at the time when Focal was:
https://github.com/flatpak/xdg-desktop-
portal/commit/00b28db5ca45bcbdfea0ddfff8447a3f8836bfd9), so the portal
dialog is not used.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1851250

Title:
  [snap] chromium-browser snap cannot upload files outside ~

Status in chromium-browser package in Ubuntu:
  Invalid

Bug description:
  After upgrading from 19.04 to 19.10, my Chromium package was converted
  to a snap. After figuring out how to manually reconnect the password
  manager, and figuring out how to apply CHROMIUM_FLAGS that used to
  live in /etc/chromium-browser/default, and noticing that GMail is no
  longer able to play a sound when a call comes in, now I see that I am
  unable to upload files from anywhere except my home directory!
  Connecting chromium:removable-media as in
  https://bugs.launchpad.net/ubuntu/+source/chromium-
  browser/+bug/1832711 does not help with anything else. Is there some
  way to let the file upload dialog work on any file my user account has
  access to? Or run this snap in --classic mode? If not, this seems like
  a critical limitation, as I need this multiple times a day. Switching
  to Chrome or Firefox cannot be the only workaround for this, surely?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1851250/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to