After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143865 - Saving/Opening files to/from remote locations using GtkFileChooser
Saving/Opening files to/from remote locations using GtkFileChooser
Status: RESOLVED WONTFIX
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on: 153415
Blocks:
 
 
Reported: 2004-06-07 12:53 UTC by Christian Neumair
Modified: 2006-01-30 10:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Neumair 2004-06-07 12:53:34 UTC
GPDF should support opening and saving remote files through GtkFileChooser.
According to [1], it involves setting the "local-only" property to 0 and poking
around with the get_uri method.

regs,
 Chris

[1] http://developer.gnome.org/doc/API/2.2/gtk/GtkFileChooser.html
Comment 1 Martin Kretzschmar 2004-06-07 17:12:39 UTC
also necessary to make this work: make the file loading methods save for http,
ftp etc. modules. Last time I checked, Xpdf's seeking behavior didn't work well
with anything except local file methods.
Comment 2 Christian Neumair 2004-06-07 17:37:28 UTC
Naive statement: I don't know how much LOC xpdf file handling routines pose, but
can't it be ported to gnome-vfs? The latter has seeking capabilities.

regs,
 Chris
Comment 3 Rémi Cohen-Scali 2004-06-07 18:45:12 UTC
I think the good way to do it is to use the http/ftp moniker methods ... but
I'am not sure if they are implemented.
Comment 4 Christian Neumair 2004-09-15 15:59:27 UTC
Any news?
Comment 5 Vincent Noel 2004-09-22 15:30:45 UTC
*** Bug 153415 has been marked as a duplicate of this bug. ***
Comment 6 Martin Kretzschmar 2004-09-28 18:41:08 UTC
Re Comment #2: gpdf _does_ use gnome-vfs for file reading since 0.103. Try gpdf
<vfs-uri>.

The problem is, that e.g. implementations of gnome_vfs_seek are not well-tested
for all vfs modules. It doesn't help that gpdf code doesn't check for errors in
large parts.

Re Comment #3: gpdf before 0.103 used monikers/bonobo streams. AFAICS these are
just CORBA wrappers around gnome-vfs. Anything that works with them works with
gnome-vfs as well.

The current idea is to do it like ggv. Its bonobo component downloads any remote
file to a temp file (with gnome-vfs) and then proceeds as usual. That would also
fix the silly behavior where gpdf downloads parts of a file multiple times.
Comment 7 Olav Vitters 2006-01-29 01:09:56 UTC
Gpdf is no longer maintained, closing WONTFIX. Please use Evince for your pdf
viewing needs.

http://www.gnome.org/projects/evince/
Comment 8 Zack Weinberg 2006-01-29 20:02:06 UTC
I don't comprehend the original request (do what with the chooser now?) so i can't determine whether it is relevant to evince.
Comment 9 Johannes Rohr 2006-01-30 10:07:43 UTC
Given that evince already opens remote files, this report is probably not relevant.