[Solved] Nodes go crazy bug with Unindnet in XML Editor

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
Old Grey
Posts: 70
Joined: Sat Dec 12, 2015 11:26 am

[Solved] Nodes go crazy bug with Unindnet in XML Editor

Postby Old Grey » Wed Sep 28, 2016 9:07 am

Is there an XML Editor bug
When I try to Unindent/Indent nodes with XML Editor on svgs with numerous nodes, the node suddenly moves and can even totally change.

Download a svg. I grabbed this one http://v.sytnik.lviv.ua/test/chertg1.svg
Open in Inkscape.
Open XML Editor.
Open View2 tree.
Click on a node - I clicked line181 - and look at the the line on the svg
Now click on UnIndent button on tool bar at top. Indent also moves it.

I've even had nodes go crazy with raise and lower.

This seams to happen to most stuff that are above simple basic svgs.
Last edited by Old Grey on Mon Oct 10, 2016 10:12 pm, edited 1 time in total.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Nodes go crazy bug with Unindnet in XML Editor

Postby Xav » Wed Sep 28, 2016 5:32 pm

"line181" is inside "View2", which has its own x and y attributes that offset all its children. Once you "unindent" it, the line is no longer a child of "View2" so the only coordinates that define its location are the ones on the line itself. It ends up at the correct location for those coordinates, so long as you remember that the Inkscape UI uses an inverted Y-axis compared to the SVG coordinates in the XML editor.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

Old Grey
Posts: 70
Joined: Sat Dec 12, 2015 11:26 am

Re: Nodes go crazy bug with Unindnet in XML Editor

Postby Old Grey » Wed Sep 28, 2016 10:11 pm

So it's supposed to happen. That kind-of poo-poos my simple shuffling around nodes into different groups by XML Editor. I guess I'll have to live with it.


Return to “Discuss Software Issues”