#6083 closed defect (fixed)
Diagram size change from OM performs badly
Reported by: | ceraolo | Owned by: | adeas31 |
---|---|---|---|
Priority: | normal | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
The diagram extent of many MSL 4.0 models does not work.
Here just an example:
- Open Modelica.Electrical.Batteries.Examples.SuperCapDischargeCharge
- right click on the diagram and open proprieties
- Change Extent Top to 80 and Bottom to -80
- Close => the diagram is badly shown.
In addition to implying an erroneous result, probably this operation puts OMEdit into an unstable state, since often soon after this change the program crashes.
Change History (6)
comment:1 Changed 4 years ago by ceraolo
- Priority changed from high to normal
comment:2 follow-up: ↓ 3 Changed 4 years ago by adeas31
comment:3 in reply to: ↑ 2 Changed 4 years ago by ceraolo
Replying to adeas31:
Normally you are not allowed to change the MSL models. How did you load the library?
Obviously I made this on a copy of the library that I'd manually put on a directory of my choice.
I did this to be able to play with the models since duplicating from MSL in OM, as well known, creates bad links.
comment:4 Changed 4 years ago by adeas31
It seems if you only change the top & bottom then 0 is used as a default value for left & right instead of default -100 & 100.
comment:5 Changed 4 years ago by adeas31
- Milestone changed from 1.17.0 to 1.16.0
- Resolution set to fixed
- Status changed from new to closed
Should work fine with 8f5710f/OpenModelica.
comment:6 Changed 4 years ago by ceraolo
thanks
Normally you are not allowed to change the MSL models. How did you load the library?