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:

  1. open OMEdit
  2. select Target Language: Cpp and Target Compiler: msvc
  3. close OMEdit
  4. open OMEdit
  5. select a model, e.g. Modelica.Blocks.Examples.Filter
  6. 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

Change History (0)

Note: See TracTickets for help on using tickets.