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
[screenshot] destroy request when done #82
base: master
Are you sure you want to change the base?
Conversation
- fixes issue where application requesting multiple screenshots does not work
I wonder if that's the right thing to do. Right now |
according to the spec, Close should be called to cancel the request and close all dialogs associated with the request. I tried calling close from the client, but it never got rid of the object path. Trying to call the screenshot again led to it trying to set the vtable on an already existing object, and failing. |
What if the client calls |
Close is meant to abort the request. The spec says that after calling close, a Response signal will not be emitted. I don't know how the other desktop portals handle this, though. |
|
while this does seem to be a client program issue (must use token to ensure unique object path,) it doesn't make sense for such an object to persist even beyond the application closing. In fact, calling Close() does not even work-- xdg-desktop-portal destroys its proxy object before the program gets a chance to call it. |
@dmayle |
The same issue seems to exist for screencasts, a bunch of |
destroy the request when it's finished.