Skip to content

Inspector doesn't show macro values of template instances after file→open #14

@anjohnson

Description

@anjohnson

I'm using VisualDCT's hierarchical (template) features, passing macros down into template instances. When I open the inspector on a template instance in a parent diagram that I have loaded from a file, the Value column is never populated with the macro values saved for that instance, the cells just appear empty. They can be set and they are displayed properly on the diagram though. It is necessary to save the parent diagram to a file and reload it for the values to disappear though, so this is probably related to the save/load operation rather than the inspector itself.

Don't know if these are related or not, but there are other problems with ports and macros when saving and reloading a file containing template instances (some of these may require multiple instances of the same template to trigger, not sure but that's what I'm doing):

  • Ports don't always reload with their graphic connectors in the same order as when they were saved, which causes the diagram to change if they are wired up (the wires do stay with the right connection though).
  • Macros lose their wired connections if the macro is wired to another macro being passed in from the super-parent diagram. The instance does load the macro's value correctly, but the wire disappears after reloading the diagram from the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions