Bug report, StarUML v5.1: On saving file, different data are altered leading to many minor file changes.

6 views
Skip to first unread message

Vasileios Pothos

unread,
Jul 30, 2023, 8:08:27 AM7/30/23
to StarUML
Issue Title: On saving file, different data are altered leading to many minor file changes.
Environment: Windows 10 Home, StartUML v5.1
Action performed:
1. Open a model with some schematics/models.
2. Add a new schematic, or modify one of the available schematic for a bit.
3. Save the file

Expected Result: The stored .mdj file should only have changes on the components you added/modified. That way you can track at a high level from the git-difference the most changes (components additions/removals, changes etc).
Actual Results: The stored .mdj contains hundreds of minor modification in numbers, on components that you didn't even touch. This makes it impossible to review the git-differences on the file.
Supplements:
Thus when you are using the .mdj file with git, it's impossible to see the actual differences of the text .mdj file, thus to get a better versioning understanding. As an example I'm showing the generated differences on components I didn't touch, among two version of the .mdj file. The numbers of the components are modified without reason, and this lead to a git diff, with hundreds of changes especially if the model file contains more many items (I'm getting ~1000+ such differences in every saving I do in a file with multiple schematics). This seems most like a Bug, with affect negatively the text/git-versioning of the models.
StarUML-v5d1-OnSavingNumbersChanging.jpg

StarUML

unread,
Jul 31, 2023, 12:32:26 AM7/31/23
to StarUML
Hi,

It is also not a bug. StarUML try to find best layout with all of elements in a diagram.

Even changes to seemingly unrelated elements can change their size and position slightly. Keep in mind that the file format is not intended for change tracking.

Thanks,

2023년 7월 30일 일요일 오후 9시 8분 27초 UTC+9에 vasileio...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages