title and desc in properties of text element

Bug #1547831 reported by Rikki Mongoose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Medium
Unassigned

Bug Description

1. Add text element and set a text for it (like "test")
2. Open its options (Ctrl+Shift+O) and set title (like "title") and description (like "descr"). Apply it.
3. Open options of text element and choose text tab.

Text will be: "desctitletext".

I think, it'll be logical to show only text from <tspan> tag, ignoring <title> and <desc>

Tags: metadata text
Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for taking the time to file a report!

The bug can be reproduced on Windows 7, Inkscape 0.48.5, 0.91 and trunk rev. 14740.

Changed in inkscape:
importance: Undecided → Medium
status: New → Triaged
tags: added: metadata
Revision history for this message
jazzynico (jazzynico) wrote :

And using the "Set" button in the Text dialog removes the <title> and <desc> elements (the whole text is then written in the <text> element).
Apparently the Text dialog always loads and saves all children of a <text> (or <flowRoot>) element as if they were text (e.g., in src/ui/dialog/text-edit.cpp:310, SPTextPath *tp = SP_TEXTPATH(text->firstChild());)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.