Apache OpenOffice (AOO) Bugzilla – Issue 24144
Doing ungroup on selection of objects does not ungroup each object
Last modified: 2004-01-12 07:56:45 UTC
When a selection is made of a group of objects that are themselves groups (e.g. selecting a square that's grouped with text and a triangle that's grouped with text), and performing an upgroup operation on the selection, the objects that were selected do /not/ ungroup. The behaviour I would expect is that if I select a bunch of grouped objects and do an "ungroup", that each highest-level group would ungroup themselves (lower-level groupings would remain grouped though...). Suppose the following configuration existed: <group> <group> circle1 text1 </group> <group> square1 text2 </group> <group> <group> square2 circle2 </group> text3 </group> text4 </group> If I selected the topmost group (my selection would consist of one group object), and performed an ungroup, I would expect to have the following objects in my selection: <group> circle1 text1 </group> <group> square1 text2 </group> <group> <group> square2 circle2 </group> text3 </group> text4 If I went ahead and did another ungroup on the selection, I would expect to have: circle1 text1 square1 text2 <group> square2 circle2 </group> text3 text4 And, of course, if I did it again, I'd expect to have the following objects in my selection: circle1 text1 square1 text2 square2 circle2 text3 text4 Subsequent ungroups on the selection would have no effect on the objects.
I have tested this with a group containing another group (I think that is what you mean). When I select the complete thing and ungroup the first level is ungrouped but the contained group stays alive. Isn't that what you wanted? Thanks for your help.
Hmmm... Well, I just repeated the test, and now I cannot reproduce the problem. I'm wondering if it was only in a certain context, or perhaps I just wasn't doing it right (although I tried a couple of times). I tested both iterative ungrouping without reselection; and ungrouping, selecting, and ungrouping the selection, and it worked the way you said it did, and the way I said it should. So... I am going to change the status to Resolved: INVALID. Please feel free to just go ahead and CLOSE it, and if I figure out what I was doing before, I'll generate a new issue. Sorry about that.
Thanks for your help. Please feel free to reopen the issue if you have nfurther information for reproducing it. Issue closed.