relative pathname with subdirectories broken [export dialog]

Bug #297407 reported by Bryan Hoyt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Unassigned

Bug Description

There's been a recent fix to the export bitmap dialog to allow exporting with a relative pathname. That's very helpful, but it only works when exporting to the same directory. If I want to export to a subdirectory, only "../" and "./" work.

Specifically, here's my relevant filesystem hierarachy:
/ #top level of this project folder
/graphics/ #where i keep my svg's
/graphics/subfolder/ #an example subfolder
/graphics/website.svg #my svg file
/website/ #where I keep my website files

I open the file "website.svg" and I want to export an image named "header.png" to somewhere useful (in this case "../website/header.png") Here's what works and what doesn't in the Filename box:

"header.png": works like a dream. Exports to /graphics/header.png which is what I'd want in that case
"./header.png": also works as expected, exactly like above
"../header.png": works correctly: exports to /header.png
"../website/header.png": BROKEN. Tries to export to /home/website/header.png. a) directory doesn't exist, b) I expect it to export to /website/header.png
"subfolder/header.png": BROKEN. Tries to export to /home/[username]/subfolder/header.png. Same problem as above, really.

I'm using a recent SVN build from 7 days ago.

Tags: exporting
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Ubuntu 9.04, Inkscape rev. 22184.
Could you please test a recent dev version (http://sourceforge.net/projects/inkscape/files/inkscape/0.47pre2/) and confirm you still have this bug?
Thanks!

Changed in inkscape:
importance: Undecided → Low
status: New → Incomplete
tags: added: exporting
Revision history for this message
Bryan Hoyt (bryhoyt) wrote :

Thanks for the tip, JazzyNico. I've just compiled the latest SVN (r), and everything works like a charm.

I've marked as "Fix Committed". I'm not sure if I'm able to do that, but we'll see if my status update takes.

Changed in inkscape:
status: Incomplete → Fix Committed
Revision history for this message
Bryan Hoyt (bryhoyt) wrote :

I meant to say r22190 above for the SVN version

jazzynico (jazzynico)
Changed in inkscape:
milestone: none → 0.47
ScislaC (scislac)
Changed in inkscape:
status: Fix Committed → Fix Released
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.