Exports to relative paths should work properly

Bug #168715 reported by Christl
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
Jon A. Cruz

Bug Description

Being able to properly export SVGs to relative paths is a must when working
with SVG files in version controlled projects, because usually every user
involved in a project has the working copy in a different location.

Relative paths solve this problem, but currently they do not work as one
might expect. Relative paths need some point of reference, a base
directory. The natural assumption would be that this base directory is the
directory where the exported .svg file is located. But currently, on Win32,
this base directory is the current process working directory at the time
the export is made (usually the Inkscape installation directory). This
makes exporting with relative paths pretty much useless.

The base directory should be the one where the file being exported is
located. If a file is exported that was not saved at least once, the use of
a relative path should be disallowed.

Revision history for this message
nightrow (jb-benoit) wrote :

I confirm the need for a relative export path that is feature complete.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
William Swanson (swansontec) wrote :

Here is a basic patch to solve the problem.

Changed in inkscape:
assignee: nobody → jon-joncruz
Revision history for this message
William Swanson (swansontec) wrote :
Revision history for this message
William Swanson (swansontec) wrote :
nightrow (jb-benoit)
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

Patch committed in revision 20135

Changed in inkscape:
status: Triaged → In Progress
status: In Progress → Fix Released
jazzynico (jazzynico)
Changed in inkscape:
milestone: none → 0.47
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.