Book a Demo

Author Topic: Diagram paste puts object at Z-order bottom  (Read 15707 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Diagram paste puts object at Z-order bottom
« on: July 21, 2016, 06:07:09 pm »
One of our users came to me with a problem.  He's using large grouping elements (which are at the bottom - z-order).  However if he pastes  link from another diagram, it seems to get pasted at the bottom z-order - behind the big grouping element.  It took him a while to figure out what was going on as he could no longer see the pasted element and repasting it generated an error (that to him looked spurious!)

It seems to him (and me) that the pasting should paste at the top so you can see what you've just pasted.

I see this as a bug, but I thought I'd get opinions before posting a bug report.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #1 on: July 21, 2016, 06:51:35 pm »
Agreed.  +1.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #2 on: July 21, 2016, 07:36:24 pm »
+1

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #3 on: July 22, 2016, 09:37:46 am »
Thanks,
Reported

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #4 on: July 22, 2016, 11:58:12 am »
I think either this or the ability to lock elements in the z-order.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #5 on: July 22, 2016, 12:41:11 pm »
I tend to agree with your request, but as a back-stop you could display the Modify Z Order dialog to establish that new elements are on the diagram and to bring them forward so that you can see them and work on them. This would be a useful tool to have open even if the paste did put the new element front, top and centre.

In the Help look for Modeling Tools > Building Models > Diagrams > Diagram Context Menu, and read about the Modify Element Z Order option.
Best Regards, Roy

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #6 on: July 22, 2016, 12:52:28 pm »
Actually having thought about it it would be nice to have separate element, connector and decoration layers.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #7 on: July 22, 2016, 07:51:18 pm »
If you classify non-browser-shown as decorator that would have funny effects on ADs (fork/join).

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #8 on: July 26, 2016, 09:52:51 am »
We seem to have gotten to the bottom of this.  The object being pasted was a (stereotyped) boundary.  By design, EA will place this at the bottom.  This would normally be OK, except, when the pasted item is hidden behind another item.

Our (my user and me) view is that since EA has decided to place it at the bottom it is EA's responsibility to check if the pasted item is (completely) hidden and alert the user to that effect (and perhaps offer remedial action).

Thoughts?
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #9 on: July 26, 2016, 10:13:28 am »
We seem to have gotten to the bottom of this.  The object being pasted was a (stereotyped) boundary.  By design, EA will place this at the bottom.  This would normally be OK, except, when the pasted item is hidden behind another item.

Our (my user and me) view is that since EA has decided to place it at the bottom it is EA's responsibility to check if the pasted item is (completely) hidden and alert the user to that effect (and perhaps offer remedial action).

I think adding those kind of messages into EA's fairly dumb one layer z pile could easily just be more confusing.  If there's going to be a big code change to the app I'd rather see layers added than an attempt to make the pile less annoying.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #10 on: July 26, 2016, 10:41:05 am »
We seem to have gotten to the bottom of this.  The object being pasted was a (stereotyped) boundary.  By design, EA will place this at the bottom.  This would normally be OK, except, when the pasted item is hidden behind another item.

Our (my user and me) view is that since EA has decided to place it at the bottom it is EA's responsibility to check if the pasted item is (completely) hidden and alert the user to that effect (and perhaps offer remedial action).

I think adding those kind of messages into EA's fairly dumb one layer z pile could easily just be more confusing.  If there's going to be a big code change to the app I'd rather see layers added than an attempt to make the pile less annoying.
Not sure layers would add anything to the specific problem.  It can be demonstrated with two objects in the same layer.  If the pasted object would be completely hidden behind another there needs to be some intervention.  Don't think it would be such a big code change.  I have some experience in determining overlaps as my diagrammer detects some and will move things if there would be overlaps.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #11 on: July 27, 2016, 07:51:56 am »
Not sure layers would add anything to the specific problem.  It can be demonstrated with two objects in the same layer.  If the pasted object would be completely hidden behind another there needs to be some intervention.  Don't think it would be such a big code change.  I have some experience in determining overlaps as my diagrammer detects some and will move things if there would be overlaps.

You'd be able to turn layers on or off or move the focus between layers.  I'd rather be able to build a good decorator layer than the current situation where you're juggling unlabelled objects in the z-order.  By extension you should be able to create a standard diagram template with decorators already on it.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #12 on: July 27, 2016, 09:38:24 am »
Not sure layers would add anything to the specific problem.  It can be demonstrated with two objects in the same layer.  If the pasted object would be completely hidden behind another there needs to be some intervention.  Don't think it would be such a big code change.  I have some experience in determining overlaps as my diagrammer detects some and will move things if there would be overlaps.

You'd be able to turn layers on or off or move the focus between layers.  I'd rather be able to build a good decorator layer than the current situation where you're juggling unlabelled objects in the z-order.  By extension you should be able to create a standard diagram template with decorators already on it.
We may be talking at cross purposes here.  In this example, there are over a dozen boundary objects.  Some (relatively thin) overlapping vertically and horizontally and some (larger) enclosing large areas which may include the other boundaries as well as standard objects.  The problem occurs between the various boundaries NOT between the objects and the boundaries.  All the boundaries would, I expect, be in the same layer.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #13 on: July 27, 2016, 09:47:40 am »
We may be talking at cross purposes here.  In this example, there are over a dozen boundary objects.  Some (relatively thin) overlapping vertically and horizontally and some (larger) enclosing large areas which may include the other boundaries as well as standard objects.  The problem occurs between the various boundaries NOT between the objects and the boundaries.  All the boundaries would, I expect, be in the same layer.

Yeah sure, I still think the ideal approach is to look at the paradigm used by graphics and CAD tools, not pop up Clippy and say "I see you've hidden this boundary behind three others, would you like to move it to the top of the pile".

Rather than make the EAUI worse let's suggest things that make it better (and more powerful).

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram paste puts object at Z-order bottom
« Reply #14 on: July 27, 2016, 04:53:54 pm »
We may be talking at cross purposes here.  In this example, there are over a dozen boundary objects.  Some (relatively thin) overlapping vertically and horizontally and some (larger) enclosing large areas which may include the other boundaries as well as standard objects.  The problem occurs between the various boundaries NOT between the objects and the boundaries.  All the boundaries would, I expect, be in the same layer.

Yeah sure, I still think the ideal approach is to look at the paradigm used by graphics and CAD tools, not pop up Clippy and say "I see you've hidden this boundary behind three others, would you like to move it to the top of the pile".

Rather than make the EAUI worse let's suggest things that make it better (and more powerful).
OK, I think I get it now.
By changing the paradigm you can always past tot he top of the respective layer and things work out much easier for the user to comprehend.

In the interim, pending the paradigm shift, I think Clippy needs to make an appearance.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!