I've run into this glitch. Is there a way to avoid it?
Steps to reproduce
inkscape –version says Inkscape 0.48.4 r9939 (Jan 22 2014)
Have a look at the attached document
I've used avoid selected objects button of the connector tool on the blue star.
I've drawn a connector between the black rectangle and the 3D shape.
What you expected to see
When I close and open the document, I see that the connector between the black rectangle and the 3D shape avoids the star. The connector does not cross the star.
What you saw instead
When I close and open the document, I see that the connector between the black rectangle and the 3D shape doesn't avoid the star. The connector is drawn over the star.
Unstable connector avoidance
-
- Posts: 8
- Joined: Tue Nov 10, 2015 3:43 pm
Unstable connector avoidance
- Attachments
-
- drawing2.svg
- (5.15 KiB) Downloaded 260 times
Re: Unstable connector avoidance
I can confirm that behavior (Window 7, 64-bit, Inkscape 0.91, 32-bit, exe installer) in my own file (didn't try the op's attached file).
I found some bugs for Connector tool, which for some reason seems like a surprising quantity.....although I'm not sure why it surprises me.
There is one, which by the title, sounds similar. But I don't really understand it (due to my lack of technical understanding). https://bugs.launchpad.net/inkscape/+bug/1425538
Or maybe this is the one? https://bugs.launchpad.net/inkscape/+bug/1421061
I found some bugs for Connector tool, which for some reason seems like a surprising quantity.....although I'm not sure why it surprises me.
There is one, which by the title, sounds similar. But I don't really understand it (due to my lack of technical understanding). https://bugs.launchpad.net/inkscape/+bug/1425538
Or maybe this is the one? https://bugs.launchpad.net/inkscape/+bug/1421061
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 8
- Joined: Tue Nov 10, 2015 3:43 pm
Re: Unstable connector avoidance
Thanks brynn
From those bug reports I get the idea that the issue is already known.
https://bugs.launchpad.net/inkscape/+bug/1421061 talks about the the method how the file is opened in a couple of places…
I have a further question: Do we know anything about the behaviour of connector avoidance in agents beyond Inkscape?
I'm asking because I'm doing these SVG's for some website. I would prefer if the website users don't run into some incorrectly rendered connectors when loading some SVG file in their browsers.
From those bug reports I get the idea that the issue is already known.
https://bugs.launchpad.net/inkscape/+bug/1421061 talks about the the method how the file is opened in a couple of places…
What makes a difference however is how the file is opened in Inkscape: a) launch the file directly (e.g. drag&drop on Inkscape icon) b) launch inkscape, open file from within Inkscape ('File > Open' or 'File > Open Recent' (this reuses the empty document window)
Same results on Ubuntu 14.04 with Inkscape 0.48.4-3ubuntu2 and Inkscape 0.91.0+40~ubuntu14.04.1 - the version does make no difference, but the method how the file is opened does.
I have a further question: Do we know anything about the behaviour of connector avoidance in agents beyond Inkscape?
I'm asking because I'm doing these SVG's for some website. I would prefer if the website users don't run into some incorrectly rendered connectors when loading some SVG file in their browsers.
Re: Unstable connector avoidance
I didn't read those bug reports very closely. But when I tested, I re-opened the file with File menu > Open Recent. And the connector was ignoring the avoid. The comment you quoted - is that how to avoid the unwanted behavior or is that how the behavior happens?
When you put the image on the website, will it still be SVG image? I don't know if this behavior would happen outside of Inkscape. If the problem only happens when you open the file in a certain way, it seems like the unwanted behavior would not be likely to happen outside of Inkscape. But maybe you could do a test? You could test with your own browser by just opening the SVG image with your browser. I'd be glad to test with Firefox and IE.
Would you be able to use just regular paths instead of connectors....at least for the ones with the avoid behavior? Then you don't have to worry that a regular path would move around.
When you put the image on the website, will it still be SVG image? I don't know if this behavior would happen outside of Inkscape. If the problem only happens when you open the file in a certain way, it seems like the unwanted behavior would not be likely to happen outside of Inkscape. But maybe you could do a test? You could test with your own browser by just opening the SVG image with your browser. I'd be glad to test with Firefox and IE.
Would you be able to use just regular paths instead of connectors....at least for the ones with the avoid behavior? Then you don't have to worry that a regular path would move around.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Unstable connector avoidance
Those connectors are Inkscape-only. They are normal paths anywhere else, Inkscape saves them as paths. It also saves some extra information in its own namespace, so they can be edited as connectors again. They are known to not work very well, and I seem to remember there has even been a discussion about considering to take them out, like there is for the 3D boxes.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
-
- Posts: 8
- Joined: Tue Nov 10, 2015 3:43 pm
Re: Unstable connector avoidance
Thanks brynn and Moini for your replies
As far as I can tell...
For now it's OK, still thanks for your offer!
In Trisquel I've tested in Firefox, Chrome and some webkit-based browser. Later on I will try to test on a colleague's OSX. Let's see...
brynn wrote:I didn't read those bug reports very closely. But when I tested, I re-opened the file with File menu > Open Recent. And the connector was ignoring the avoid. The comment you quoted - is that how to avoid the unwanted behavior or is that how the behavior happens?
As far as I can tell...
- a) launch the file directly (e.g. drag&drop on Inkscape icon) avoids behaviour
- b) launch inkscape, open file from within Inkscape ('File > Open' or 'File > Open Recent' (this reuses the empty document window) triggers behaviour
When you put the image on the website, will it still be SVG image? I don't know if this behavior would happen outside of Inkscape. If the problem only happens when you open the file in a certain way, it seems like the unwanted behavior would not be likely to happen outside of Inkscape. But maybe you could do a test? You could test with your own browser by just opening the SVG image with your browser. I'd be glad to test with Firefox and IE.
For now it's OK, still thanks for your offer!
In Trisquel I've tested in Firefox, Chrome and some webkit-based browser. Later on I will try to test on a colleague's OSX. Let's see...