No error is emitted by dbus call org.gnome.evince.Daemon.FindDocument when called with non-existent file.
When using the org.gnome.evince.Daemon.FindDocument dbus method to open a document, if said document does not exist, instead of returning with an error, the dbus call hangs and/or times out.
Steps to reproduce
dbus-send --print-reply --session --dest=org.gnome.evince.Daemon /org/gnome/evince/Daemon org.gnome.evince.Daemon.FindDocument 'string:file:///does/not/exist.pdf' boolean:true
Expected outcome: The call returns with a failure.
Actual outcome: An empty Evince window is opened. Then the call hangs and eventually responds with:
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Edited by Jonathan Osser