empty text is not cleaned up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
If text is created, and then later all of the text contents are selected and deleted, the SVG will contain an unselectable object with more or less this form:
<text (assorted stuff) /></text>
The document cleanup function does not remove these.
Two test files will be attached. The first is just 3 pieces of text inside a rectangle. The second is what happens when, using the text tool, the contents of each these text boxes is selected and deleted. Then "clean up document" was run, and the file saved.
By "unselectable" I mean that dragging a rectangle around the area, or using "select all", does not result in anything being shown as selected on the drawing surface. However, the empty text fields are actually selected that way, and can be deleted following that form of selection. There just are not any visible clues that they have been selected.
These empty text fields may be selected in the XML editor, and deleted there.
Forgot to mention, this is trunk r12935.