Issue 24144 - Doing ungroup on selection of objects does not ungroup each object
Summary: Doing ungroup on selection of objects does not ungroup each object
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 19:46 UTC by jbotte
Modified: 2004-01-12 07:56 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jbotte 2004-01-06 19:46:04 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.
Comment 1 wolframgarten 2004-01-07 07:36:53 UTC
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.
Comment 2 jbotte 2004-01-09 17:30:29 UTC
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.
Comment 3 wolframgarten 2004-01-12 07:56:45 UTC
Thanks for your help. Please feel free to reopen the issue if you have nfurther
information for reproducing it.
Issue closed.