Object properties ID field maximum length is too short

Bug #1692860 reported by Mitch Curtis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

For example, if I try to enter the following ID:

share/qtcreator/templates/wizards/projects/qtquickapplication/icon-empty

it gets cut off at:

share/qtcreator/templates/wizards/projects/qtquickapplication/ic

Editing the SVG manually seems to work:

https://codereview.qt-project.org/gitweb?p=qt-creator/qt-creator.git;a=blobdiff;f=src/tools/icons/qtcreatoricons.svg;h=d8c61ce40bd76619cefe49435712daab20020625;hp=c700a1906c6e82a350b18fa17e13a887b4cfc620;hb=5e5cf3c241bf8393f3e66c453d91e12b9020f098;hpb=9ee0cec3bcd90de5e130af1ee064ababab0f94b2

so this appears to be a bug in Inkscape.

Revision history for this message
Mitch Curtis (mitchcurtis) wrote :

Looks like the relevant code is here, where it has a 64 character limit:

http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/ui/dialog/object-properties.cpp#L117

The line above also says "(only letters, digits, and the characters .-_: allowed)", and it indeed removes them if I enter them through the UI. Although, again, this seems to work if the SVG file is edited manually. The forward slash thing was a pre-existing convention in the file that I'm editing... perhaps the author will have to re-think it, though.

Changed in inkscape:
status: New → Triaged
importance: Undecided → Low
milestone: none → 1.0
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.