On V0.48, I find that copying and pasting tiled clones produces a broken copy. Anyone else get this?
1 Load the attached document - shows a 2D array of 100 dots
2 Press CTRL+A, CTRL+C, CTRL+V, 3
Expected: original array of 100 dots and faithful copy
Observed, original array and broken copy: [EDIT: added magnifications arrowed and bordered red]
The broken copy has one dot raised by a large distance and the other 99 lowered by the same.
This on Inkscape V0.48, Win 7 Pro 64-bit.
EDIT: Here's a different instance:
Before: http://img837.imageshack.us/img837/1556/regionb.png
After: http://img692.imageshack.us/img692/249/regionfbv.png
SVG 'Copy and paste corruption' not attached - too large for this forum's 256 KiB limit.
Bug? Copy and paste breaks clones array
Bug? Copy and paste breaks clones array
- Attachments
-
- Copy and paste breaks array 1.svg
- (25.05 KiB) Downloaded 195 times
Last edited by chrisjj on Fri Feb 15, 2013 2:46 am, edited 2 times in total.
Re: Bug? Copy and paste breaks clones array
I have a similar experience with your file, on the same kind of system, except with 0.48.4. What I experience looks exactly like what you describe:
But your 2nd screenshot doesn't seem to fit that same description. Maybe you accidentally inserted the wrong one, or something?? In the 2nd screenshot, it looks like a very narrow line/path is selected.
Couple of comments. The file shows the original circle (Ellipse) and only 99 Clones. It seems to me that it should have 100 clones along with the original. I don't know if missing one unit of the whole array would cause this kind of problem. It doesn't seem like it should . But we probably should be testing with the whole array. Actually, nevermind. I just made up a quick 3 x 3 array in the same file (1 Star and 9 Clones) and tested, and it exhibits the exact same behavior.
And 2nd comment, for whatever reason, it's always the original that goes to the top, and all the clones are shifted downward. I don't know what significance that has, but it seems like it should provide some kind of info (for those who are more technically inclined than I am).
Someone else will have to address the technical aspects in the possibility of a bug. I do know of one bug which could be coming into play. I did the same test that I did in your file, except in a new blank document, that is set up to prevent that bug. It does NOT display that behavior. So I would guess that it is a bug, at least partially related to those transform attribute related issues we've seen so often (or at least I have). Whether this is a new "variety" of those, or whether it's exhibiting entirely known bug behavior, I don't know. I have seen tiled clones affected by this bug (and actually reported it a few years ago). But the part where it seems to be triggered by pasting -- that part is new to me.
I'm thinking it probably should be reported. Anyone else have any thoughts?
chrisjj, if I decide to report it, could I give them your file to test with?
The broken copy has one dot raised by a large distance and the other 99 lowered by the same.
But your 2nd screenshot doesn't seem to fit that same description. Maybe you accidentally inserted the wrong one, or something?? In the 2nd screenshot, it looks like a very narrow line/path is selected.
Couple of comments. The file shows the original circle (Ellipse) and only 99 Clones. It seems to me that it should have 100 clones along with the original. I don't know if missing one unit of the whole array would cause this kind of problem. It doesn't seem like it should . But we probably should be testing with the whole array. Actually, nevermind. I just made up a quick 3 x 3 array in the same file (1 Star and 9 Clones) and tested, and it exhibits the exact same behavior.
And 2nd comment, for whatever reason, it's always the original that goes to the top, and all the clones are shifted downward. I don't know what significance that has, but it seems like it should provide some kind of info (for those who are more technically inclined than I am).
Someone else will have to address the technical aspects in the possibility of a bug. I do know of one bug which could be coming into play. I did the same test that I did in your file, except in a new blank document, that is set up to prevent that bug. It does NOT display that behavior. So I would guess that it is a bug, at least partially related to those transform attribute related issues we've seen so often (or at least I have). Whether this is a new "variety" of those, or whether it's exhibiting entirely known bug behavior, I don't know. I have seen tiled clones affected by this bug (and actually reported it a few years ago). But the part where it seems to be triggered by pasting -- that part is new to me.
I'm thinking it probably should be reported. Anyone else have any thoughts?
chrisjj, if I decide to report it, could I give them your file to test with?
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: Bug? Copy and paste breaks clones array
brynn wrote:I have a similar experience with your file, on the same kind of system, except with 0.48.4. What I experience looks exactly like what you describe:
Thanks for the confirmation.
brynn wrote:But your 2nd screenshot doesn't seem to fit that same description. ... In the 2nd screenshot, it looks like a very narrow line/path is selected.
That's the way 0.48 displays it. I have added magnifications (bordered red) to better show the fault.
brynn wrote: I do know of one bug which could be coming into play. I did the same test that I did in your file, except in a new blank document, that is set up to prevent that bug. It does NOT display that behavior.
Could you point me to the instructions for making such a document setup? Thanks.
brynn wrote:chrisjj, if I decide to report it, could I give them your file to test with?
Sure! And please do link back to this post, to help me know which of my reports was the original.
Last edited by chrisjj on Fri Feb 15, 2013 11:03 am, edited 1 time in total.
Re: Bug? Copy and paste breaks clones array
As a bug, this one can't always be avoided or worked around. But there are a couple of tricks that sometimes work.
The bug is related to the transform attribute and there are several varieties. Sometimes the attribute is added inappropriately and other times, it seems that Inkscape reacts inappropriately to it, even though it might have been appropriated applied. I should note that this is my understanding, and I may not be using the proper terminology.
The worst of them (from my perspective) seem to be related to changing the page size and/or especially page orientation (landscape or portrait), which cause the transform attribute to be added to Layer layer 1. You can avoid those, if you really want to use the landscape orientation or non-A4 page size, by not drawing in Layer layer 1.
However, there are other times when the transform attribute comes into play. To my understanding (which may not be entirely accurate) this can also happens when using some of the basic transform tools (move, scale, rotate, etc.). When it happens this way, it can be much harder, if not impossible to avoid, because you can't necessarily determine which step set up the attribute or which instance is "malfunctioning".
Let me try and contact someone who can determine whether this is a new bug or not. fingers and toes!
The bug is related to the transform attribute and there are several varieties. Sometimes the attribute is added inappropriately and other times, it seems that Inkscape reacts inappropriately to it, even though it might have been appropriated applied. I should note that this is my understanding, and I may not be using the proper terminology.
The worst of them (from my perspective) seem to be related to changing the page size and/or especially page orientation (landscape or portrait), which cause the transform attribute to be added to Layer layer 1. You can avoid those, if you really want to use the landscape orientation or non-A4 page size, by not drawing in Layer layer 1.
However, there are other times when the transform attribute comes into play. To my understanding (which may not be entirely accurate) this can also happens when using some of the basic transform tools (move, scale, rotate, etc.). When it happens this way, it can be much harder, if not impossible to avoid, because you can't necessarily determine which step set up the attribute or which instance is "malfunctioning".
Let me try and contact someone who can determine whether this is a new bug or not. fingers and toes!
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: Bug? Copy and paste breaks clones array
I only get this bug with your file (even with creating a new array altogether), except my paste results in an empty array (ie no circles paste over at all). I do not get this bug when I create the array in a new file. I'm using 0.48.4 r9939
I'm attaching my new file that works on my end. See if something still breaks on your end using my file.
I'm attaching my new file that works on my end. See if something still breaks on your end using my file.
- Attachments
-
- tiled clones array.svg
- (24.29 KiB) Downloaded 193 times
Re: Bug? Copy and paste breaks clones array
Thanks S.
No - pastes fine! Mysterious...
sinsation wrote: See if something still breaks on your end using my file.
No - pastes fine! Mysterious...
Re: Bug? Copy and paste breaks clones array
If you continue to have the issue with future new files, it would suggest that there is something corrupting the arrays on your end.
Re: Bug? Copy and paste breaks clones array
If this is a transform attribute related bug, it will only occur in files with either an inappropriately applied attribute, or an appropriately applied one that Inkscape isn't handling properly. I can't reproduce the bug in a "clean" file either. Let's see if I can reproduce in a not-so-clean file.....
Yes I can! I'll report it as soon as I can (probably tomorrow).
Meanwhile, if you want to reproduce, change your file to lanscape orientation, then create, copy, and paste an array of clones. (Note that there may be other ways to get the faulty transform attribute.)
Yes I can! I'll report it as soon as I can (probably tomorrow).
Meanwhile, if you want to reproduce, change your file to lanscape orientation, then create, copy, and paste an array of clones. (Note that there may be other ways to get the faulty transform attribute.)
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: Bug? Copy and paste breaks clones array
This is what mine does when pasting in landscape. I am unable to select that extra circle.
- Attachments
-
- Landscape clone paste.jpg (221.82 KiB) Viewed 3743 times
Re: Bug? Copy and paste breaks clones array
Did you create that array in the same file? I didn't test by just pasting the array. I started by creating it first. Although I really have no idea if it matters.
Edit
Apparently not!
Edit
Apparently not!
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: Bug? Copy and paste breaks clones array
I created the file new and recreated the array.
Re: Bug? Copy and paste breaks clones array
May it be related to the issue where a group of objects - where one is the original object and the other is clones - when pasted, the clones might get an undesired offset?
http://youtu.be/2LBLE-qCWgc
[flash=http://youtu.be/2LBLE-qCWgc][/flash]
http://youtu.be/2LBLE-qCWgc
[flash=http://youtu.be/2LBLE-qCWgc][/flash]
Re: Bug? Copy and paste breaks clones array
Sorry it took me so long, but here's the new bug report: https://bugs.launchpad.net/inkscape/+bug/1153084
chrisjj, you might find it interesting to follow its progress. It may sit there unchanged for a few hours to a few days, but eventually, someone will add tags, and decide on its status and importance. If anyone tests, and finds additional info, they will post a comment. RATS! Which reminds me I forgot to add my system info, darn it! But anyway, there it is
chrisjj, you might find it interesting to follow its progress. It may sit there unchanged for a few hours to a few days, but eventually, someone will add tags, and decide on its status and importance. If anyone tests, and finds additional info, they will post a comment. RATS! Which reminds me I forgot to add my system info, darn it! But anyway, there it is
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