Comment 9 for bug 484041

Revision history for this message
jazzynico (jazzynico) wrote :

Tested on Windows XP, Inkscape trunk revision 13963, with simple and nested groups. I didn't check the code, but the feature seems to work as expected.

> I chose "pop out of group" as the terminology since it does not "ungroup" the selected objects

"Remove from group" looks good too. And consistent with "Text>Remove from Path". "Pop selected objects out of group" seems far too long IMHO.

> the file menu entry is not greyed out when action cannot be performed

If I remember correctly (can't find a bug report), none of the menu entries can be greyed out. Only the context menu ones can.

> -using the XML browser to select the objects for some reason does not update the internal selection, and therefore you need to then go and click the objects on the canvas before you can perform the action

The fact that you're in a group is handled independently of the selected object. Another example: select an object in a group by double-clicking on it (you are in the group) and then use the Go to parent context menu command. The object is still selected, but you are considered outside of the group. But I have no idea on how it works exactly.

> popping out the only item in a group does not remove the empty group

What about testing the item count and, if all items from the group are moved, redirect to the ungroup command instead of the pop out one?