[Bug 170225] Re: relative image paths instead of absolute

2017-01-30 Thread su_v
JFTR - the crash triggered by certain combinations of different types of bitmap images in 64bit Inkscape 0.91 on Windows (e.g. GIF+JPG) is tracked in bug #1467103. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 170225] Re: relative image paths instead of absolute

2017-01-30 Thread jazzynico
@Jarl, I can confirm that Inkscape crashes when linking a JPG and a GIF file with 0.91 for Windows 8 -64-bit). The good news is that I can't reproduce the bug with 0.92 on the same computer. As of the file with both relative and absolute links, I can't reproduce the crash at all, even with 0.91.

[Bug 170225] Re: relative image paths instead of absolute

2015-04-28 Thread Alex Valavanis
** Changed in: inkscape (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute To manage notifications

[Bug 170225] Re: relative image paths instead of absolute

2015-02-05 Thread Bug Watch Updater
** Changed in: inkscape (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute To manage notification

[Bug 170225] Re: relative image paths instead of absolute

2015-01-31 Thread Jarl Arntzen
I've just confirmed that both new bugs exist in the release version of Inkscape 0.91 r13725 for Win64 on Win8. *JPG+GIF linking crashes Inkscape as described above. * Loading a SVG file which contains both absolute and relatively linked files crashes Inkscape. Cheers. -- You received this bug

[Bug 170225] Re: relative image paths instead of absolute

2015-01-31 Thread Jarl Arntzen
Tested and found to be partially working on Win 8. (Yesss!!) Furthermore, there's no difference between using \ or / as a folder delimiter in the paths on Win 8. 1. Created new Inkscape file and put it into "foldername-1". 2. Added some random GIF, JPG and PNG-files to a subfolder called "subfold

[Bug 170225] Re: relative image paths instead of absolute

2015-01-31 Thread Alex Valavanis
** Changed in: inkscape Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute To manage notifications abo

[Bug 170225] Re: relative image paths instead of absolute

2014-03-25 Thread koppor
In Inkscape 0.48.4 r9939 on win32, relative links such as xlink:href ="splash-release.svg" is not resolved. At save, inkscape creates an attribute sodipodi:absref="C:\git- repositories\jabref\jabref\src\main\resources\images\splash- release.svg", which points to the correct file, but during load,

[Bug 170225] Re: relative image paths instead of absolute

2013-04-22 Thread David Evans
** Branch unlinked: lp:inkscape -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute To manage notifications about this bug go to: https://bugs.launc

[Bug 170225] Re: relative image paths instead of absolute

2012-08-30 Thread Marty Vona
Here is a workaround that has been working for me for a while (maybe 3y or more). After adding an image, right click on it, select "Image Properties". Manually edit "URL" to be a relative path. Save and the resulting svg will have the relative path (and it should not get changed back to absolute

[Bug 170225] Re: relative image paths instead of absolute

2012-07-31 Thread Alex Valavanis
** Tags removed: patch ** Tags added: patch-accepted-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute To manage notifications about this

[Bug 170225] Re: relative image paths instead of absolute

2011-08-27 Thread Stratadrake
I recently encountered this issue after a Win XP reinstall -- my SVG files were previously stored on drive letter H, now on drive letter F, breaking the absolute URIs. At least fixing it was a straightforward find/replace operation on the SVG tree (though just a little tedious, having to do it acr

[Bug 170225] Re: relative image paths instead of absolute

2011-04-27 Thread Alex Valavanis
** Changed in: inkscape (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute -- ubuntu-bugs mailing lis

[Bug 170225] Re: relative image paths instead of absolute

2011-03-30 Thread JazzyNico
> @JazzyNicco, any comments? a, b) the patch is very recent, and it would indeed be safer to use it extensively in the trunk before backporting it. That's something we can discuss later with the 0.48.2 release plan. As for c), saving as Plain SVG removes the sodipodi:absref and thus addresses y

[Bug 170225] Re: relative image paths instead of absolute

2011-03-30 Thread ~suv
@Fiable.biz - IMHO it would be imprudent to backport the patch at this stage to any stable version: a) this is work in progress, and the code likely to change (C++-ification) b) this is work in progress with regard to image handling and management (see blueprints related to this report) c) the pa

[Bug 170225] Re: relative image paths instead of absolute

2011-03-30 Thread Fiable.biz
This is a security issue because all drawers are not computer specialists and, sending or distributing their work they can disclose unawares the absolute path of their picture, so information of their directories and files hierarchy, usually including their username in the system. Since it is a

[Bug 170225] Re: relative image paths instead of absolute

2011-03-30 Thread Fiable.biz
Absolute addresses can be useful too. Specially, when one is making a web site and, let's say, the logo has to be included in many pictures, then one doesn't need several copies of the logo. If the logo changes a bit, it's fine if all the SVG pictures including it change at once, and if the SVG

[Bug 170225] Re: relative image paths instead of absolute

2011-03-22 Thread Launchpad Bug Tracker
** Branch linked: lp:inkscape -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://

[Bug 170225] Re: relative image paths instead of absolute

2011-03-22 Thread JazzyNico
Fix committed in the trunk, revision 10124. ** Changed in: inkscape Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths inst

[Bug 170225] Re: relative image paths instead of absolute

2011-03-21 Thread JazzyNico
> I'm thinking that we want to do this in C++, not C. I reused the same syntax as the original code. And since it was not part of the recent C++ification, it still needs refactoring. > A minor shift in approach could be helpful. Could you please give some details? Do you mean the patch could be

[Bug 170225] Re: relative image paths instead of absolute

2011-03-20 Thread Jon A. Cruz
I've poked at this a few times in the past... but I'm thinking that we want to do this in C++, not C. A minor shift in approach could be helpful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 T

[Bug 170225] Re: relative image paths instead of absolute

2011-03-17 Thread JazzyNico
New patch version, with NULL pointer test. If there's no new issue with this one, I think I'll commit it soon. ** Patch added: "Relative path patch v2" https://bugs.launchpad.net/inkscape/+bug/170225/+attachment/1915510/+files/relativePath.diff -- You received this bug notification because y

[Bug 170225] Re: relative image paths instead of absolute

2011-03-17 Thread JazzyNico
I confirm that the warning message "did not resolve to a valid image file..." existed in 0.46. This behavior is known and commented in the src/sp-image.cpp, line 1243: "document base can be wrong (on the temporary doc when importing bitmap from a different dir) or unset (when doc is not save

[Bug 170225] Re: relative image paths instead of absolute

2011-03-17 Thread JazzyNico
@~suv - The image in your document uses href directly, and not xlink;href as expected. Thus the issues is not due to an incorrect pathname handling (it works if you use xlink;href with the same path) but triggered by a missing NULL pointer test (needed when there's no xlink:href attribute at all).

[Bug 170225] Re: relative image paths instead of absolute

2011-03-16 Thread JazzyNico
I must admit I haven't tested with old (0.46 and older) files. I'll try this one tomorrow on my patched Inkscape version. Thanks again for your tests! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170

[Bug 170225] Re: relative image paths instead of absolute

2011-03-16 Thread ~suv
back trace ** Attachment added: "relative-paths-bt-r10107-osx.txt" https://bugs.launchpad.net/inkscape/+bug/170225/+attachment/1912509/+files/relative-paths-bt-r10107-osx.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:/

[Bug 170225] Re: relative image paths instead of absolute

2011-03-16 Thread ~suv
When saving the attached SVG file with a different filename, Inkscape r10107+patch crashes consistently - the trigger seems to be this image: As far as I know, the image was originally created with Inkscape 0.47 (possibly pre4?) on debian sqeeze, though the relative href path must have been

[Bug 170225] Re: relative image paths instead of absolute

2011-03-14 Thread JazzyNico
Related: Bug #272520 "Dragging and dropping images into the inkscape document always creates an absolute link" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths inste

[Bug 170225] Re: relative image paths instead of absolute

2011-03-04 Thread JazzyNico
Error message confirmed. It's due to a problem with base path of images that are not in the same directory as the SVG file. > Just curious - when are linked images 'rebased' (if possible) - on save or on load? On import AND on save (when necessary). Images with absolute path (URI) are rebased onl

[Bug 170225] Re: relative image paths instead of absolute

2011-03-04 Thread ~suv
testing patch with r10078 on OS X 10.5.8 (i386), command-line version (not osx-app): When importing an image from a sub-directory relative to the location of the saved SVG file, these console warnings occur, from 'src/sp- image.cpp' (IIRC not new): ** (inkscape:67215): WARNING **: did not resolv

[Bug 170225] Re: relative image paths instead of absolute

2011-03-03 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubu

[Bug 170225] Re: relative image paths instead of absolute

2011-03-02 Thread JazzyNico
** Patch added: "Relative path patch" https://bugs.edge.launchpad.net/inkscape/+bug/170225/+attachment/1881333/+files/relativePath.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title:

[Bug 170225] Re: relative image paths instead of absolute

2011-03-02 Thread JazzyNico
First patch attached. Tested on Windows XP and Ubuntu 10.10, revision 10074. On Windows, relative hrefs are saved as pathnames with / as path separator (instead of \) so that they can be opened on other operating systems. Thus they can be considered as relative IRIs and thus conform to the W3C r

[Bug 170225] Re: relative image paths instead of absolute

2011-02-21 Thread JazzyNico
A patch is currently in progress. It works correctly when an image is imported in a saved document (the SVG has a path) but not with a newly created document which is saved after the image is imported. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subsc

[Bug 170225] Re: relative image paths instead of absolute

2011-02-21 Thread JazzyNico
** Changed in: inkscape Status: Triaged => In Progress ** Changed in: inkscape Milestone: None => 0.49 ** Changed in: inkscape Assignee: (unassigned) => JazzyNico (jazzynico) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 170225] Re: relative image paths instead of absolute

2011-01-27 Thread Bug Watch Updater
** Changed in: inkscape (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/170225 Title: relative image paths instead of absolute -- ubuntu-bugs mailing lis

[Bug 170225] Re: relative image paths instead of absolute

2011-01-27 Thread Alex Valavanis
** Bug watch added: Debian Bug tracker #435608 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435608 ** Also affects: inkscape (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435608 Importance: Unknown Status: Unknown ** Changed in: inkscape Status: Confirme