Author Topic: v14 Beta: Connector setting disables Element label selection!  (Read 1320 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
If you have labels (for an element) generated with a shape script, if the [] Show Relationships checkbox is NOT marked (in the Connectors page of the Diagram Properties Dialog), then the label of the element canít be selected!  (Sheesh!  :o )

Pure EAUI! ::)

My guess is that it is somehow related to the line from the centre of the element to the label which appears when the label is selected.

Reported,
Paolo
« Last Edit: March 08, 2018, 06:03:45 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6418
  • Karma: +55/-6
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #1 on: March 09, 2018, 10:37:03 am »
I can confirm the bug, including that it is not related to the 14 beta. (the behavior is the same in 13.5)
Simon

support@sparxsystems.com

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #2 on: March 09, 2018, 10:50:54 am »
I can confirm the bug, including that it is not related to the 14 beta. (the behavior is the same in 13.5)
Yes, I know...  ;)  But I wanted it to get Sparx's attention.   8)

Happy Friday everybody!

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

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6418
  • Karma: +55/-6
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #3 on: March 09, 2018, 11:43:03 am »
Have you heard the story of the boy who cried wolf?
Simon

support@sparxsystems.com

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #4 on: March 09, 2018, 01:12:37 pm »
Have you heard the story of the boy who cried wolf?
But they believed him the first two times!  I just have to be restrained... :)

And in his case, there was NO wolf!  There's a real bug!

Avagoodweegend!

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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #5 on: March 09, 2018, 02:22:19 pm »
Even when the Label is selectable, as per Label "roams" in Rectangular notation  Reloading the diagram doesn't honour the label location.  I realise that the shapescript defines where the label is to go, but like connectors, there needs to be a mechanism that allows the user to move it and it remain where they placed it.  Perhaps a SetInitialOrigin() method that will place the label in a fixed position only if not already positioned elsewhere?

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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Even the first setting isn't in the right place!
« Reply #6 on: March 12, 2018, 12:13:35 pm »
We've noticed that the label isn't even placed correctly on change of value (like while we were debugging).  It needs a diagram reload to get it to the correct (specified) location.

EAUI+ guys!

It isn't rocket science!  Most frustrating for our users!

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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6213
  • Karma: +97/-88
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v14 Beta: Connector setting disables Element label selection!
« Reply #7 on: March 13, 2018, 11:55:33 am »
The bug has been confirmed by Sparx.

While we're here in Label land, the whole Label processing via shape scripts is broken.  The print function will wrap regardless; after some arbitrary length, not (apparently) related to the size of the containing shape.  The printwrapped function will wrap but not (apparently) related to the size of the containing shape!  You can resize the label so it wraps correctly, but the next reload of the diagram restores the arbitrary behaviour.

The definition of printwrapped is:
"Prints the specified text string, wrapped over multiple lines if the text is wider than its containing shape."
Nowhere does it say that the wrap has to be within the boundaries of its containing shape.  So I guess it works as intended on planet Sparx.

So MUCH time gets wasted trying to get around these weird and wonderful functionalities!

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