Created attachment 102506 [details]
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.
To clarify just in case, the attachment description means the group in the file that makes up the diode.
Cannot reproduce in master.
(In reply to comment #2)
> Cannot reproduce in master.
Any binaries for installation ?
(In reply to comment #4)
The file is like half smaller than the other installers, and its lack of size is backed by having just the optional components in the customization section. Unless I'm missing something, this installer is bad.
While later working with the files I noticed the file started working, and any later file I created with same things worked just fine, and especially ones with mixed cases of group names worked perfectly. And the same example file works just fine, so I dunno.
Could be there's some line of code which causes the selection window to sometimes not appear. We'll see later.
Works fine with (portable) 188.8.131.52.
Ahaa, I found that if you insert an OLE object (Insert -> Object -> OLE Object -> Create from file), you insert the whole document, unused space included.
If you insert a file (Insert -> File), it shows list of named groups and if you check the box, will remove unused space.
So no problems here yet.