Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5691 closed defect (fixed)

OMEdit overlaps diagrams of different models

Reported by: Andrea.Bartolini Owned by: adeas31
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version: v1.14.0-dev.beta1
Keywords: Cc: casella

Description

Step to reproduce the issue:

  • open the attached package Test.mo
  • open M2 model
  • open M1 model (directly from the Libraries view or using the "open class" function), leaving M2 model open in another Tab
  • switch to the text view of the M1 model
  • change something (it's enough to add some white spaces)
  • save M1 model
  • click on M2 Tab, M1 and M2 models diagrams are overlapped (just M1 icons, not wires)

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.14.0~dev.beta1-7-g9a11e9c
Sysop Ubuntu 18.04

Attachments (1)

Test.mo (1.7 KB) - added by Andrea.Bartolini 5 years ago.

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by Andrea.Bartolini

comment:1 Changed 5 years ago by Andrea.Bartolini

  • Milestone changed from Future to 1.14.0
  • Version changed from v1.13.0-dev.beta1 to v1.14.0-dev-nightly

comment:2 Changed 5 years ago by Andrea.Bartolini

Please add in the version list the 1.14.0~dev.beta1

comment:3 Changed 5 years ago by adeas31

  • Status changed from new to accepted
  • Version changed from v1.14.0-dev-nightly to v1.14.0-dev.beta1

comment:4 Changed 5 years ago by casella

@adeas31, if you can fix this quickly, please push it to maintenance 1.14 and 1.15

comment:5 Changed 5 years ago by Andrea.Bartolini

@adeas31, can you please give me a feedback about the time necessary to fix this issue? I daily work with Modelica projects which involve hundred of models, and is normal for me to keep open more than 10 models in different tabs...
... but it is very difficult to do, if any text modification will overlap the diagrams of the opened models...

Thanks in advance...

Andrea

comment:6 Changed 5 years ago by adeas31

I can't give an exact time estimate. I can reproduce the bug but still don't know why its happening. I will investigate next week.

comment:7 Changed 5 years ago by adeas31

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in 724446d/OpenModelica and ported the fix to 1.14

comment:8 Changed 5 years ago by casella

Thanks @adeas31!

@Andrea, this will be available in 1.14.dev-beta.3

comment:9 Changed 5 years ago by Andrea.Bartolini

I test the fix today and it works fine on my pc... thanks adeas31...

Note: See TracTickets for help on using tickets.