Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6083 closed defect (fixed)

Diagram size change from OM performs badly

Reported by: massimo ceraolo Owned by: Adeel Asghar
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 by massimo ceraolo, 4 years ago

Priority: highnormal

comment:2 by Adeel Asghar, 4 years ago

Normally you are not allowed to change the MSL models. How did you load the library?

in reply to:  2 comment:3 by massimo ceraolo, 4 years ago

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.

Last edited 4 years ago by massimo ceraolo (previous) (diff)

comment:4 by Adeel Asghar, 4 years ago

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 by Adeel Asghar, 4 years ago

Milestone: 1.17.01.16.0
Resolution: fixed
Status: newclosed

Should work fine with 8f5710f/OpenModelica.

comment:6 by massimo ceraolo, 4 years ago

thanks

Note: See TracTickets for help on using tickets.