-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xdg-desktop-portal tries to access non-existing org.freedesktop.impl.portal.Request #1241
Comments
Is this causing any problem? GDBusProxy initialization calls |
Not to my knowledge. I just keep spotting this in bustle
Even if it it had properties, It would fail as the Request object does not exist yet. |
So it's not a critical issue or anything. Cool. In any case, it would be good to figure it out. |
The org.freedesktop.impl.portal.Request interface has no properties, and is constructed against a different object path. We don't need to fetch properties for that. Don't do that. Closes: flatpak#1241
Could you please verify if #1244 fixes that for you, without introducing any regressions? |
The org.freedesktop.impl.portal.Request interface has no properties, and is constructed against a different object path. We don't need to fetch properties for that. Don't do that. Closes: #1241
The org.freedesktop.impl.portal.Request interface has no properties, and is constructed against a different object path. We don't need to fetch properties for that. Don't do that. Closes: flatpak#1241
The org.freedesktop.impl.portal.Request interface has no properties, and is constructed against a different object path. We don't need to fetch properties for that. Don't do that. Closes: flatpak#1241
The org.freedesktop.impl.portal.Request interface has no properties, and is constructed against a different object path. We don't need to fetch properties for that. Don't do that. Closes: #1241
Operating System
Neon 22.04
XDG Desktop Portal version
Git
XDG Desktop Portal version (Other)
main
Desktop Environment
KDE
Desktop Environment (Other)
No response
Expected Behavior
xdg-desktop-portal
should not try to access non-existent object/give the impl a chance to create themCurrent Behavior
I can see that for requests an app makes xdg-desktop-portal tries to read properties of a non-existing Request. The event flow is as follows with
org.freedesktop.portal.FileChooser.OpenFile
as an exampleorg.freedesktop.portal.FileChooser.OpenFile
is calledxdg-desktop-portal
makes a call to the impl at/org/freedesktop/portal/desktop/request/connection/token
org.freedesktop.DBus.Properties.GetAll('org.freedesktop.impl.portal.Request',)
xdg-desktop-portal
calls org.freedesktop.impl.portal.FileChooser.OpenFilexdg-desktop-portal
send the method return of the originalorg.freedesktop.portal.FileChooser.OpenFile
Steps to Reproduce
Anything else we should know?
I can see this order of event flows with multiple interfaces. At least FileChooser, Screenshot and Screencast
The text was updated successfully, but these errors were encountered: