Author Topic: v15.2 –Paintbrush Widget doesn’t respond to shapescript for some types of items!  (Read 1678 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8548
  • Karma: +253/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
As we know, the "paintbrush" widget to the right of the selected item will have the option [  ] Use Rectangle Notation - when the shapescript has the option within it..  That is if the shapescript doesn't have a conditional statement using
Code: [Select]
hasproperty("rectanglenotation"))
The option won't appear since the user has no option (pun intended) in this case.
Except (in typical EAUI) it doesn't.  For some types of items, even if the conditional is provided in the shapescript, the option will NOT appear.

Since the question of whether the option should appear has nothing to do with the item type, but only with the content of the shapescript, we see NO rationale for suppressing it under spurious circumstances.

Please rectify.

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8017
  • Karma: +118/-20
    • View Profile
You don't want to share which item types you're having a problem with?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8548
  • Karma: +253/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
You don't want to share which item types you're having a problem with?
I was having trouble with the Diagram Note Element (Aka "TitleBlock")  We've created a stereotype which allows us to define our own properties and render them on the diagram via a shapescript.   The shapescript renders when NOT in rectangular mode - but we have to (currently) use a script to switch.  I'm sure there are others, but that's all we found so far.

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