You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing SetStatus with only the options vardict as the documentation says results in Type of message, “(a{sv})”, does not match expected type “(sa{sv})” as the error. Passing in a string as the first input value, like the parent window used in RequestBackground, makes the call work.
Steps to Reproduce
Call .Background.SetStatus with only an options vardict.
Operating System
Fedora Silverblue 39
XDG Desktop Portal version
1.18
XDG Desktop Portal version (Other)
No response
Desktop Environment
GNOME
Desktop Environment (Other)
No response
Expected Behavior
The documentation at https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Background.html says that
SetStatus
only takes an options vardict but running that gives an error. I wonder if the documentation fails to refer to a parent window needed to be passed in?Current Behavior
Executing
SetStatus
with only the options vardict as the documentation says results inType of message, “(a{sv})”, does not match expected type “(sa{sv})”
as the error. Passing in a string as the first input value, like the parent window used inRequestBackground
, makes the call work.Steps to Reproduce
.Background.SetStatus
with only an options vardict.Anything else we should know?
I noticed this when implementing rymdport/portal#9.
Another FYI:
RequestBackground
has one "is" too many.The text was updated successfully, but these errors were encountered: