GNOME Bugzilla – Bug 439234
Opening a remote pdf doc listed in the 'recent documents' doesn't work
Last modified: 2009-08-04 15:21:25 UTC
The bug has been opened on https://bugs.launchpad.net/bugs/71034 "Steps to reproduce the bug: Open a pdf file located in a smb share with evince. Close evince. Open the same file through the 'Recent documents' in gnome-panel menu. An message windows should pop up with this error: 'Could not find a suitable application.' This doesn't happen with other type of documents, i.e. jpeg files, openoffice files (and MS Office files). ..."
Does it work with gnome-open?
gnome-open doesn't ask for an username or password, it works with it if those are specified to the URI though
And does it work from the run dialog? :-) I don't have a smb server here, so I'll probably need someone to look at this.
you can try with ssh, works correctly from the run dialog
*** Bug 523827 has been marked as a duplicate of this bug. ***
Same issue with ftp and webdav protocols.
if we change the "mime:mime-type" entry from "application/octet-stream" to "application/pdf" we can open correctly any pdfs.
that's an evince issue, the .recently-used.xbel get a application/octet-stream mimetype which is incorrect
Here is a output example of gnomevfs-info : # gnomevfs-info ftp://localhost/test.pdf You must log in to access localhost Login anonymously? 1 Yes 2 No 2 Username: pk Password: Name : test.pdf Type : Regular MIME type : application/pdf Default app : evince.desktop Size : 3169084 Blocks : 6190 I/O block size : 32768 Local : NO SUID : NO SGID : NO Sticky : NO Link count : 1 UID : 1001 GID : 1001 Access time : Fri May 25 00:00:00 2007 Modification time : Fri May 25 00:00:00 2007 Change time : Fri May 25 00:00:00 2007 # But when we look the entry in "Recent Documents" (.recently-used.xbel), we have this : <bookmark href="ftp://localhost/test.pdf" added="2008-03-22T14:29:27Z" modif ied="2008-03-22T14:29:36Z" visited="2008-03-22T14:29:27Z"> <info> <metadata owner="http://freedesktop.org"> <mime:mime-type type="application/octet-stream"/> <bookmark:applications> <bookmark:application name="File Manager" exec="'evince %U'" timestamp="1206196167" count="1"/> <bookmark:application name="Evince Document Viewer" exec="'evince %u'" timestamp="1206196176" count="1"/> </bookmark:applications> </metadata> </info> </bookmark> We can see that the mime-type is not the same.
Work now but only in one condition. The connection to the source server must be open first.
Work with Evince 2.22.2 and Nautilus 2.24.2