https://bugs.freedesktop.org/show_bug.cgi?id=81131

          Priority: medium
            Bug ID: 81131
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Having special characters in the name of a shape or a
                    group of shape doesn't show the list of names when
                    inserting from a Draw document
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: jounijar...@gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.3.0.2 rc
         Component: UI
           Product: LibreOffice

Created attachment 102506
  --> https://bugs.freedesktop.org/attachment.cgi?id=102506&action=edit
Example file of the electricity circuit component diode. As is, it functions
fine when inserted into another Draw document, but if you name it
§Diodi/diode§, it imports whole file with empty space.

Tested using 4.3.0 RC2 (on Window$ 7 Ultimate x64). No reason to believe
doesn't apply to other versions and/or platforms.

During
http://ask.libreoffice.org/en/question/36686/how-to-insertimport-a-draw-file-containing-a-single-symbol-without-the-empty-space-into-draw/
it became clear Draw doesn't support at least some characters in the name,
given for a particular shape or group of shape(s).

At least slash, /, is unsupported. Others yet to be tested.

If such character is in the name, the window showing tree of names you gave for
shapes doesn't appear at all, making Draw take the whole file including empty
space. This isn't bad for names which don't have such characters, but for the
ones it is.

I don't believe this is that hard for XML, so I don't see why this bug exists
in the first place. http://stackoverflow.com/questions/539143/xml-entity-for
confirms slash doesn't need escaping.

Or, if this can't be supported anyhow, Draw should warn about it and offer to
strip the characters, change to something or allow to cancel so you can change
it yourself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to