Every group in the current selection: selected groups themselves, and the groups inside a
multi-selection (a temp element). Locked ones are left out — selectedElements() already skips
them — so Ungroup never takes apart something the user locked.
Shared by the Arrange → Ungroup menu (menucontroler) and the shortcut (menucommands): both used to
ungroup only the topmost selected group, so after Select → All Groups one group came apart and the
rest stayed grouped. Canvas-only, so the menu widget may import it without pulling in the editor.
Every group in the current selection: selected groups themselves, and the groups inside a multi-selection (a
tempelement). Locked ones are left out —selectedElements()already skips them — so Ungroup never takes apart something the user locked.Shared by the Arrange → Ungroup menu (menucontroler) and the shortcut (menucommands): both used to ungroup only the topmost selected group, so after Select → All Groups one group came apart and the rest stayed grouped. Canvas-only, so the menu widget may import it without pulling in the editor.