Activity log for bug #1337009

Date Who What changed Old value New value Message
2014-07-03 00:05:46 Neal Holtz bug added bug
2014-08-08 12:20:53 su_v attachment added demo file with two groups (translated, rotated), with attribute in custom namespace "foo" https://bugs.launchpad.net/inkscape/+bug/1337009/+attachment/4172771/+files/1337009-default-1.svg
2014-08-08 12:21:46 su_v attachment added demo file saved after converting both groups to symbols with r13502 https://bugs.launchpad.net/inkscape/+bug/1337009/+attachment/4172772/+files/1337009-default-1-symbols-r13502.svg
2014-08-08 12:22:08 su_v inkscape: importance Undecided Medium
2014-08-08 12:22:08 su_v inkscape: status New Confirmed
2014-08-08 12:22:08 su_v inkscape: milestone 0.91
2014-08-08 12:52:22 jazzynico inkscape: status Confirmed Triaged
2014-11-06 19:34:04 su_v inkscape: milestone 0.91 0.92
2015-03-05 16:02:13 bhushit agarwal description When a group with custom attributes, for example <g id=".." ice:class="damper-2.5d" ...>...</g> is converted to a symbol, the custom attributes (in this case 'ice:class') are often lost. It *appears* as though, if the transform on the <g> is "simple" (ie., just a translation), a <use> is created with the same transform and the children of the <g> are re-rooted in a new <symbol><g>...</g></symbol> in the <defs> section. And the custom attributes are lost. If the transform is more complex, the original 'g' with all custom attributes and children is moved to the new <symbol> node and is replaced with a <use> with no transform. In this case, the custom attributes are retained as part of the symbol. I think I would prefer the latter for all cases, but I really want all my custom attributes kept, somewhere. Actually, now that I think I bit harder, they do have to be retained on the symbol. Note, in the above, 'ice' is a proper namespace, properly set in the svg file. When a group with custom attributes, for example    <g id=".." ice:class="damper-2.5d" ...>...</g> is converted to a symbol, the custom attributes (in this case 'ice:class') are often lost. It *appears* as though, if the transform on the <g> is "simple" (ie., just a translation), a <use> is created with the same transform and the children of the <g> are re-rooted in a new <symbol><g>...</g></symbol> in the <defs> section. And the custom attributes are lost. If the transform is more complex, the original 'g' with all custom attributes and children is moved to the new <symbol> node and is replaced with a <use> with no transform. In this case, the custom attributes are retained as part of the symbol. I think I would prefer the latter for all cases, but I really want all my custom attributes kept, somewhere. Actually, now that I think I bit harder, they do have to be retained on the symbol. Note, in the above, 'ice' is a proper namespace, properly set in the svg file.
2015-03-05 16:02:59 bhushit agarwal bug added subscriber bhushit agarwal