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: Adeel Asghar
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version: v1.14.0-dev.beta1
Keywords: Cc: Francesco 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)

by Andrea Bartolini, 5 years ago

Attachment: Test.mo added

comment:1 by Andrea Bartolini, 5 years ago

Milestone: Future1.14.0
Version: v1.13.0-dev.beta1v1.14.0-dev-nightly

comment:2 by Andrea Bartolini, 5 years ago

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

comment:3 by Adeel Asghar, 5 years ago

Status: newaccepted
Version: v1.14.0-dev-nightlyv1.14.0-dev.beta1

comment:4 by Francesco Casella, 5 years ago

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

comment:5 by Andrea Bartolini, 5 years ago

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

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

Resolution: fixed
Status: acceptedclosed

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

comment:8 by Francesco Casella, 5 years ago

Thanks @adeas31!

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

comment:9 by Andrea Bartolini, 5 years ago

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

Note: See TracTickets for help on using tickets.