PNG Export directory

Hi,
Prior to recent changes if one exported a PNG without specifying a path it would be saved in the same directory as the SVG. Now it gets saved in the home directory (in Linux). I don't think that this is desired. I would almost never want the PNG to end up in my home directory. This is causing a significant interruption in my work flow as I have hundreds of SVG's that have the PNG export name set without a path (inkscape:export-filename). Can we have the original behavior back (without breaking, of course, the new support of relative paths)?
Thanks,
Tav

On Thu, Aug 20, 2009 at 8:16 AM, Tavmjong Bah<tavmjong@...8...> wrote:
Hi,
Prior to recent changes if one exported a PNG without specifying a path it would be saved in the same directory as the SVG. Now it gets saved in the home directory (in Linux).
I did it mostly for command line export. However I'm still undecided about whether we should use it for Export dialog. Is your complaint about the dialog? I can re-add relativization from document directory to its filename field too.
Note that this is in any case new behavior in 0.47, the 0.46 always interpreted rel paths from current dir, not document dir.

Just to says that in my mind "path1224.png" and "./path1224.png" should do the same thing (in GUI): export in the document svg directory. We should use the home directory only when the document has never been saved.
ps: I just noticed something, if you select an object and launch export dialog, the editbox shows the full path, click anywhere to unselect, reselect yout path and the editbox shows the relative path.
2009/8/20 bulia byak <buliabyak@...400...>
On Thu, Aug 20, 2009 at 8:16 AM, Tavmjong Bah<tavmjong@...8...> wrote:
Hi,
Prior to recent changes if one exported a PNG without specifying a
path
it would be saved in the same directory as the SVG. Now it gets saved in the home directory (in Linux).
I did it mostly for command line export. However I'm still undecided about whether we should use it for Export dialog. Is your complaint about the dialog? I can re-add relativization from document directory to its filename field too.
Note that this is in any case new behavior in 0.47, the 0.46 always interpreted rel paths from current dir, not document dir.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

I agree - the export should default to the current dir, or the home dir if the file hasn't been saved.
JF
Yann Papouin wrote:
Just to says that in my mind "path1224.png" and "./path1224.png" should do the same thing (in GUI): export in the document svg directory. We should use the home directory only when the document has never been saved.
ps: I just noticed something, if you select an object and launch export dialog, the editbox shows the full path, click anywhere to unselect, reselect yout path and the editbox shows the relative path.
2009/8/20 bulia byak <buliabyak@...400... mailto:buliabyak@...400...>
On Thu, Aug 20, 2009 at 8:16 AM, Tavmjong Bah<tavmjong@...8... <mailto:tavmjong@...8...>> wrote: > > Hi, > > Prior to recent changes if one exported a PNG without specifying a path > it would be saved in the same directory as the SVG. Now it gets saved in > the home directory (in Linux). I did it mostly for command line export. However I'm still undecided about whether we should use it for Export dialog. Is your complaint about the dialog? I can re-add relativization from document directory to its filename field too. Note that this is in any case new behavior in 0.47, the 0.46 always interpreted rel paths from current dir, not document dir. -- bulia byak Inkscape. Draw Freely. http://www.inkscape.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net <mailto:Inkscape-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

On Thu, 2009-08-20 at 11:58 -0300, bulia byak wrote:
On Thu, Aug 20, 2009 at 8:16 AM, Tavmjong Bah<tavmjong@...8...> wrote:
Hi,
Prior to recent changes if one exported a PNG without specifying a path
it would be saved in the same directory as the SVG. Now it gets saved in the home directory (in Linux).
I did it mostly for command line export. However I'm still undecided about whether we should use it for Export dialog. Is your complaint about the dialog? I can re-add relativization from document directory to its filename field too.
Yes, my complaint is about the dialog. Export by default should save to the same directory the SVG file is in. To rephrase Yann:
drawing.png and ./drawing.png should both end up in the same directory as drawing.svg unless specified explicitly otherwise.
Tav

On Aug 20, 2009, at 11:05 PM, Tavmjong Bah wrote:
Yes, my complaint is about the dialog. Export by default should save to the same directory the SVG file is in. To rephrase Yann:
drawing.png and ./drawing.png should both end up in the same directory as drawing.svg unless specified explicitly otherwise.
Yes. Very much a big YES!!!!

On Fri, Aug 21, 2009 at 3:05 AM, Tavmjong Bah<tavmjong@...8...> wrote:
Yes, my complaint is about the dialog.
OK, I added absolutizing user-entered paths from doc location in rev 22137. Now the only relative paths that are interpreted from current dir are those that are typed on the command line for exporting.

On Fri, 2009-08-21 at 12:28 -0300, bulia byak wrote:
On Fri, Aug 21, 2009 at 3:05 AM, Tavmjong Bah<tavmjong@...8...> wrote:
Yes, my complaint is about the dialog.
OK, I added absolutizing user-entered paths from doc location in rev 22137. Now the only relative paths that are interpreted from current dir are those that are typed on the command line for exporting.
Thank You!
Tav
participants (5)
-
bulia byak
-
Jon A. Cruz
-
Joshua Facemyer
-
Tavmjong Bah
-
Yann Papouin