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 334724 - Allow relative paths when referencing external documents
Allow relative paths when referencing external documents
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-03-16 04:52 UTC by Scott Little
Modified: 2006-03-21 19:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Scott Little 2006-03-16 04:52:14 UTC
When document A.gnumeric references and external document B.gnumeric, there
should be a valid relative path syntax for doing so.  e.g. allow

   [./B.gnumeric]sheet1!A5

in place of

   [/home/joe/MyDocs/B.gnumeric]sheet1!A5

where A.gnumeric (which is referencing B.gnumeric) also resides in directory 
/home/joe/MyDocs/.

There may be a semantics difficulty here.  What is the path relative to?  The
current working directory, or the directory where A.gnumeric resides.
They might not be the same if we launched gnumeric as follows...

   gumeric MyDocs/B.gnumeric &

I prefer the latter option.  i.e. relative to the file making the reference.

Rational:

I want to ship one interactive sheets which references several read only sheets
as a tarball without requiring the tarball be extracted in a 'magic' directory,
or requiring extensive editing of external references.
Comment 1 Morten Welinder 2006-03-17 14:18:44 UTC
I'm pretty sure the only sane semantics would be to have relative URIs
be relative to the URI of the workbook they're in.
Comment 2 Morten Welinder 2006-03-19 00:11:31 UTC
You can now enter a relative URI, but regardless of how you refer to a workbook,
it will always display and save as a full URI.
Comment 3 Morten Welinder 2006-03-21 19:51:52 UTC
Fixed in cvs.