Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge labels for segmented edges shift when switching selection #402

Closed
yannsartori opened this issue Jan 13, 2021 · 0 comments
Closed

Edge labels for segmented edges shift when switching selection #402

yannsartori opened this issue Jan 13, 2021 · 0 comments
Labels
bug A problem main Issues with the main code base
Milestone

Comments

@yannsartori
Copy link
Contributor

yannsartori commented Jan 13, 2021

Description
If you have edge labels on segmented edges (aggregation, composition, or association) and there is at least one class with some attributes and at least one without, regardless of which classes you select, alternating between selecting one with some attributes versus one without moves the labels of all the segmented edges present on the diagram.
The correct behaviour should be it remains static.

Steps to reproduce

  1. Create new class diagram
  2. Create two classes
  3. Connect the two with an aggregation edge, and label the edge components
  4. Add an attribute to one of the classes
  5. Switch between the two classes. See the labels moving.

Configuration

  • JetUML Release: 3.1
  • OS + version: Mac OS 11.1 and Windows 10
  • Java version OpenJDK 15
@prmr prmr added bug A problem main Issues with the main code base labels Jan 13, 2021
@prmr prmr added this to the Release 3.2 milestone Jan 13, 2021
yannsartori added a commit to yannsartori/JetUML that referenced this issue Jan 14, 2021
@prmr prmr changed the title Edge labels for segmented edges shift when switching selection between a class who has attributes versus one who has none Edge labels for segmented edges shift when switching selection Jan 16, 2021
yannsartori added a commit to yannsartori/JetUML that referenced this issue Jan 16, 2021
prmr added a commit that referenced this issue Jan 18, 2021
…lignment-properties-in-drawString

#402 Save and restore the text alignment when drawing strings
@prmr prmr closed this as completed Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem main Issues with the main code base
Projects
None yet
Development

No branches or pull requests

2 participants