discord
discord copied to clipboard
[Bug]: XDG Desktop Portal Support
What happened?
Please add support for desktop portals, so that the file-picker is using the native one, as opposed to the default GNOME one.
What should have happened?
Native file-picker
Output of snap info discord
$ snap info discord
name: discord
summary: All-in-one voice and text chat for gamers
publisher: Snapcrafters
store-url: https://snapcraft.io/discord
contact: https://github.com/snapcrafters/discord/issues
license: unset
description: |
All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and
phone.
Snaps are confined, as such Discord may be unable to perform some of the tasks it typically does
when unconfined. This may result in the system log getting spammed with apparmor errors. Granting
access to the system-observe interface when in the snap will enable the features, and thus reduce
the logging.
snap connect discord:system-observe
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- discord
snap-id: qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking: latest/stable
refresh-date: 49 days ago, at 06:34 EST
channels:
latest/stable: 0.0.17 2022-02-18 (132) 86MB -
latest/candidate: ↑
latest/beta: 0.0.17 2022-02-18 (132) 86MB -
latest/edge: 0.0.17 2022-02-18 (132) 86MB -
installed: 0.0.17 (132) 86MB -
Output of snap connections discord
$ snap connections discord
Interface Plug Slot Notes
audio-playback discord:audio-playback :audio-playback -
audio-record discord:audio-record :audio-record manual
browser-support discord:browser-support :browser-support -
camera discord:camera :camera -
content[gnome-3-28-1804] discord:gnome-3-28-1804 gnome-3-28-1804:gnome-3-28-1804 -
content[gtk-3-themes] discord:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] discord:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] discord:sound-themes gtk-common-themes:sound-themes -
desktop discord:desktop :desktop -
desktop-legacy discord:desktop-legacy :desktop-legacy -
gsettings discord:gsettings :gsettings -
home discord:home :home -
mount-observe discord:mount-observe - -
network discord:network :network -
network-observe discord:network-observe :network-observe manual
opengl discord:opengl :opengl -
process-control discord:process-control :process-control manual
pulseaudio discord:pulseaudio :pulseaudio -
removable-media discord:removable-media :removable-media manual
screen-inhibit-control discord:screen-inhibit-control :screen-inhibit-control -
system-observe discord:system-observe :system-observe manual
unity7 discord:unity7 :unity7 -
wayland discord:wayland :wayland -
x11 discord:x11 :x11 -
Output of snap version
$ snap version
snap 2.54.4
snapd 2.54.4
series 16
ubuntu 21.10
kernel 5.13.0-39-generic
Relevant log output
No response
Teminal output of app
No response
I've updated the snap to include everything necessary for portals, but discord itself doesn't appear to be using the proper file picker API to trigger the portal.
Darn. Hopefully Discord will fix that.
Not sure if it's related, but I tried to upload from ~/.steam, but I got a "permission denied" error.

Thanks for reporting this! This seems to be fixed now. Discord now uses portals. Please comment if this is not the case in your install.
In Zorin OS Core 17.1 when I attach something the first time Portal appears in the foreground (correctly) but from the second time Portal is loaded behind Discord, is this related to this issue report or not?
No, that is focus stealing prevention in GNOME which is a bit buggy
So can't be fixed in the snap version but only from GNOME?
Yes, it's on the GNOME side, nothing to do with the snap.