Skip to content

Connector end moved after reloading a model #2768

@Sycophantic-Witty

Description

@Sycophantic-Witty

Describe the bug

Saving & loading a model loses the original position of some connector ends.

To Reproduce

Steps to reproduce the behavior:

  1. Create a diagram with four classes (say A, B1, B2, B3)
  2. Create three composite associations between A and each Bn.
  3. Save the model.
  4. Restart Gaphor and open the model.
  5. One end of a composite association has moved.

Nothing reported in the error report.

Expected behavior

After reloading the model, the diagram looks the same as it looked when saved.

Screenshots

Diagram view when saving the model:
moving-connector-end-before

Diagram view after reloading the model:
moving-connector-end-after

OS

  • Linux (Debian GNU/Linux 12.2 "bookworms")
  • macOS
  • Windows

Version

Version of Gaphor: 2.21.0

Additional information

Model: moving-connector-end.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions