Author Topic: v16 - Setting Line appearance to [ ] Default - Fails!  (Read 185 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8227
  • Karma: +233/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
v16 - Setting Line appearance to [ ] Default - Fails!
« on: August 11, 2022, 01:10:57 pm »
EA's "defaulting mechanism" for lines in the past differed from that for shapes.  For shapes, setting the extrinsic value "-1" in the BorderColor column of the t_object table would cause EA to draw the shape with the line colour as specified in the MDG.  Lines on the other hand would set the value from the MDG into the LineColor column in t_connector.  In both cases, if you changed the "Default Appearance" using the context menus, the value you selected would become the default colour for the border/line.

For shapes, setting the appearance to the Default value in the colour picker sets the value in t_object.BorderColor, back to "-1" and restores the MDG default.
For Lines, however, setting the appearance to the Default value in the colour picker sets the value in t_object.BorderColor, back to "-1", but this does not restore the MDG default; it just renders the line colour in a blue-grey!

This needs to be rectified!  My suggestion (which, I guess, will be ignored) is to make shapes and lines BOTH use the value "-1" to render the border/line in the MDG specified colour.

Reported,
Paolo
« Last Edit: August 11, 2022, 01:12:37 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!