Opened 9 years ago
Last modified 9 years ago
#3670 closed defect
OMEdit does not apply Target Compiler and Target Language setting after restart — at Initial Version
Reported by: | Rüdiger Franke | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | v1.9.4-dev-nightly |
Keywords: | Cc: |
Description
The recent version 1.9.4 offers the new GUI dialogs
Tools->Options->Simulation->Target Language
Tools->Options->Simulation->Target Compiler
These settings are kept upon restart, but are not applied anymore. The bug can be reproduced as follows:
- open OMEdit
- select Target Language: Cpp and Target Compiler: msvc
- close OMEdit
- open OMEdit
- select a model, e.g. Modelica.Blocks.Examples.Filter
- simulate the model --> the default settings C and gcc will be used
The options are applied after opening the Tools->Options->Simulation dialog and confirming the settings with OK before simulating (or FMU exporting) a model.
This bug is seen a blocker because the new feature is explicitly announced in the release notes and should work then.
When fixing the ticket, could possibly the layout of the Target Language dialog be changed from:
C | CSharp | Cpp | ...
to:
C | Cpp | CSharp | ...
or nicer:
C | C++ | C# | ...
Alternatively a lexographical order:
None | Adevs | C | Cpp | CSharp | Java | JavaScript | sfmi | XML
or nicer with lexographical order:
None | Adevs | C | C# | C++ | Java | JavaScript | sfmi | XML