Timeout of dbus call to FindDocument when directory contains a question mark
Steps to reproduce:
- copy a pdf into this new directory
dbus-send --print-reply --session --dest=org.gnome.evince.Daemon /org/gnome/evince/Daemon org.gnome.evince.Daemon.FindDocument 'string:file:///tmp/test1?/thepdf.pdf' boolean:true
Expected outcome: The call returns in time, just like it does if the directory does not contain a
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.
This specifically breaks the synctex support in Emacs when Evince is used as a viewer and the directory of the document contains question marks.