Opened 4 years ago
Last modified 3 years ago
#6269 new defect
Creating new Composite model freezes OMEdit (WSL)
Reported by: | Andreas Heuermann | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | OMEdit | Version: | v1.17.0-dev |
Keywords: | composite model | Cc: | Per Östlund, Martin Sjölund |
Description (last modified by )
When trying to create a new composit from the drop-down menu with OMEdit nothing happens.
How to reproduce:
Click File->New Composite Model
and notice how nothing is happening.
See screenshot_1.png.
After that I can't do anything in OMedit but don't get a crash report either.
When trying to close OMEdit asks me if I want to save changes to the newly created composite models. See screenshot_2.png.
I'm running OMEdit with OMCompiler v1.17.0-dev.239+gaa3317f58f and OMSimulator v2.0.0.post268-ga355ad0-linux
on Ubuntu 20.04.
Attachments (2)
Change History (14)
by , 4 years ago
Attachment: | screenshot_1.png added |
---|
by , 4 years ago
Attachment: | screenshot_2.png added |
---|
OMEdit ask me to save newly created composite models
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Milestone: | NeedsInput → 1.16.2 |
---|
comment:3 by , 4 years ago
Milestone: | 1.16.2 → 1.17.0 |
---|
comment:5 by , 4 years ago
Yes, that could be a problem of course.
EDIT:
On Windows with OpenModelica v1.17.0-dev-225-gb23dde892d it works for me.
comment:6 by , 4 years ago
Yes wsl is the problem. The display interface doesn't work well with OpenSceneGraph and composite model uses that.
comment:7 by , 4 years ago
Anything I could do on my side?
Otherwise we probably won't fix this so I have to remember that I can't click that button when I'm on WSL.
comment:8 by , 4 years ago
Summary: | Creating new Composite model freezes OMEdit → Creating new Composite model freezes OMEdit (WSL) |
---|
comment:9 by , 4 years ago
Cc: | added |
---|
I have no idea how to fix this. I know that 3d visualizations don't work in wsl as well.
But it would be nice to ask someone who have a real Linux machine to test this.
comment:10 by , 4 years ago
I'm not entirely sure how composite models are supposed to work, but I can't seem to replicate the issue on Arch Linux. I can create a new composite model and OMEdit seems to work just fine afterwards. So I guess it's either WSL or Ubuntu that's causing the issue.
comment:11 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Screenshot of how to create new composite model