Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Undocumented Feature - Annotation disappears

Undocumented Feature - Annotation disappears 6 years 4 months ago #9404

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 159
  • Thank you received: 5
  • Karma: 1
Hi Claes,

In version 5.5 running on Ubuntu 16.04 LTS with LXDE, annotations do not display in subgraphs when RecursiveDynamic=1.

The following example shows two identical subgraphs, both in the graphics editor and run-time display on a work station. The only difference is that one has RecursiveDynamic = 1 (top) and the other has RecursiveDynamic = 0 (bottom). On both subgraphs, a command is attached to a grouped rectangle and circle, as follows: Command.command open graph /class /inst=$hostobject

The two subgraphs are added to a main graphic (003). A $hostname is assigned to both subgraphs: APC-sim_reg-ctl-W-Mode3

In run-time, the top subgraph target invokes Mode3 detail properly, but does not display the annotation as expected. The bottom subgraph target does not work (as expected), but the annotation is displayed correctly. Again, these two subgraphs are identical, except RecursiveDynamic = 1 and 0.

I don't remember annotations being an issue in version 5.4? Or maybe, I am doing something wrong or unexpected? One thought was the annotation may be hidden behind the rectangle when RecursiveDynamic=1. But, additional experiments with annotation directly on the background give the same result. Looking forward to your comments.

Thank You.
Ron


Recursion_Annotation.png


RecursiveDynamic.png
The administrator has disabled public write access.

Undocumented Feature - Annotation disappears 6 years 3 months ago #9409

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Ron,

This is a bug that has been there since recursive dynamics where implemented so it doesn't have to do with V5.5. Normally all instances of a subgraphs share the same class, but when dynamic recursive is set, the instance creates a local copy of the class to be able to modify the colors and other properties of the objects in the class. In this copy operation the annotation was lost.

It will be fixed to the next release.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: AutoMate
  • Page:
  • 1
Time to create page: 8.480 seconds