Book a Demo

Author Topic: Autosize Elements  (Read 3469 times)

marcelloh

  • EA User
  • **
  • Posts: 192
  • Karma: +0/-0
    • View Profile
Autosize Elements
« on: March 10, 2010, 09:53:54 pm »
Using V8 b2
When I do an autosize on all elements, the drawing is wierd.
So let's read what the manual says:

You can autosize an element or group of elements to the minimum size.
Each element is reduced or expanded as necessary to just reveal the information displayed.

Did this on a normal BPMN 1.1 diagram....

A startevent is far too large.
A gateway is small, but recognizable. (I would say, this is a good minimal size.)
An activity is far too large.

I'm convinced this is not  the minimal size for all of them.
Inside the startevent, there is no information, so it could be smaller.
Inside the activity, there is some text, but it sure could be smaller.

So I think this is a genuine bug. Of course I didn't test this on every element, but that is something for the tester to find out.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Autosize Elements
« Reply #1 on: March 11, 2010, 09:18:00 am »
What should happen: On autosize, diagram objects should revert to their default size, unless they contain more than the default size can show (e.g. a long name, additional compartments) in which case they should be resized as close to default size as possible. The help seems to be describing the "unless" case but not the normal case.

What appears to be happening: Diagram objects from profiles, with default sizes different to their base class (e.g. BPMN elements), are being incorrectly resized to the default size of the base class, which is a bug(*). Unstereotyped objects are being resized correctly.

Can you put in a bug report please? Thanks.

(*)Also a bug in 7.5.750
« Last Edit: March 11, 2010, 09:43:15 am by KP »
The Sparx Team
[email protected]

marcelloh

  • EA User
  • **
  • Posts: 192
  • Karma: +0/-0
    • View Profile
Re: Autosize Elements
« Reply #2 on: March 11, 2010, 07:50:58 pm »
I filed a bug for this.
Since you ask me to do this bug filing, can I ask a tester to make a testcase for this?