Closed A6GibKm closed 1 day ago
Did you label the expected behaviour and the current (actual) behaviour in your issue report the wrong way round? The text of the report doesn't seem to match the headings.
If my guess is correct and you've labelled expected behaviour and current behaviour the wrong way round, then this is probably the same issue that https://github.com/flatpak/xdg-desktop-portal/pull/1378 aims to solve.
I edited it, yes it is the same issue. However I am not sure if the point about UseIn
was raised previously (portals with it will always go first).
Operating System
Fedora
XDG Desktop Portal version
1.18
XDG Desktop Portal version (Other)
No response
Desktop Environment
GNOME
Desktop Environment (Other)
No response
Expected Behavior
The order in which portals implementations set in gnome-portal.conf should be followed.
If the config says, for example,
oo7-portal should be selected.
Current Behavior
The order in which portals implementations set in gnome-portal.conf is not followed. In the example above gnome-keyring is selected.
Steps to Reproduce
In a GNOME based distro, setup a dummy portal:
and all the required files (dbus activation file, binary, etc)
Setup a config file
~/.config/gnome-portals.conf
with contents:and start
xdg-desktop-portal -r -v
. It will printThe fn
Will always pickup gnome-keyring because:
UseIn=gnome
is not set on the new portalAs per
man portals.conf
:alphabetical order should not take preference over the position in the config file.
I tested removing
gnome-keyring
from the config file and that works fine.Anything else we should know?
Here is the actual portal impl https://github.com/bilelmoussaoui/oo7/pull/101