Cannot type newline in text objects

Bug #1514050 reported by Parcly Taxel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

(Trisquel 7.0, trunk r14448) Open the attached file and try editing any of the text objects. When the enter key is pressed, nothing happens on the canvas, but the program thinks that a change has been made and empty <tspan> objects are generated after subsequent text not containing a newline is entered.

Text objects created in the canvas are not affected by this bug; i.e. a newline can be typed in them as usual. This bug should be marked critical, since it easily becomes a regular source of frustration.

Tags: svg text
Revision history for this message
Parcly Taxel (parclytaxel-deactivatedaccount) wrote :
description: updated
description: updated
Revision history for this message
su_v (suv-lp) wrote :

The file has been optimized (with whatever tool) and Sodipodi/Inkscape editing information (attributes in custom namespaces) was deleted.

To edit multiline text in Inkscape, the <tspan> elements which are lines (and not inline formatting) need the custom attribute
 sodipodi:role="line"

Related earlier reports (same underlying issue, though the way to get there might differ):
* Bug #366744 “Multi-line text object in plain SVG behaves strangely after re-opening”
* Bug #276456 “Extension bug at creating text elements”

tags: added: svg
Revision history for this message
su_v (suv-lp) wrote :

On 2015-11-07 09:47 (+0100), Parcly Taxel wrote:
> This bug should be marked critical, since it easily becomes a regular
> source of frustration.

I disagree about bug status 'Critical': Inkscape loads and renders the file correctly; the editing information was removed at some point intentionally (maybe not by the current user, but then likely by the author sharing the file).

Proposing to link as duplicate to one of the earlier report (the symptom is present in any plain, optimized or externally coded SVG file which removes or does not explicitly add the editing information for multiline text).

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.