Closed Sophist-UK closed 2 years ago
This is legit and traces back to logic error. Text spans are added on close since they need the actual data between the tags to display. But, the display none isn't checked so sometimes the object can be added to the list of objects even though the display value is set to none
.
I think that there may be two use cases where this happens:
a. Text object is in a group which has display:none; b. Text object itself has display:none.
Both perhaps the same cause if I understood your description.
Basically text objects get added at the tag close by spec, and the tag close doesn't avoid processing because of display:none so any tag that can occur at the close namely anything where <tag>this text is important</tag>
happens. So desc and titles would do this as well even though those are never displays.
I'm basically waiting on the tests to finish before this thing is marked as fixed.
Fixed in 1.6.5.
I couldn't understand why my K40 started rastering something at y=0, and it turns out that a group with display:none is somehow loading the last of the elements contained in it.
Here is the object list in Inkscape showing the group is hidden:![image](https://user-images.githubusercontent.com/3001893/142472355-b5f839fd-411e-46fe-a2de-5e8f70ef4694.png)
Here is what is loaded into Meerk40t:![image](https://user-images.githubusercontent.com/3001893/142472445-4e375698-8cd7-4aba-ab61-7b1d5fa5317b.png)
Here is the svg group xml and contents: