Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5234 closed defect (fixed)

OMEdit leaves the Simulation Output window in the background

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.13.0
Component: OMEdit Version: v1.13.0-dev-nightly
Keywords: Cc:

Description

An issue found on OM 1.13.0-dev.beta1

When OMEdit is successful it puts the Simulation Output window behind the main program window, which is set to the Plotting perspective.

If simulation fails the window is (on purpose) left in foreground.

However, in case of a failure and a further successful simulation the Simulation Output window stays in the foreground that, I think, is unwanted.

I tested this behaviour as follows:

  • made a successful simulation
  • changed the target compiler from gcc int msvc (which my PC does not have). the simulation fails and Simulation Output Window stays in the foreground
  • changed the target compiler back to gcc. The simulation completes successfully, but the Simulation Output Window remains in the foreground.

Change History (3)

comment:1 by Adeel Asghar, 6 years ago

Fixed in b7e072e/OMEdit

I have also pushed the fix to the maintenance/v1.13 branch.

comment:2 by Adeel Asghar, 6 years ago

Resolution: fixed
Status: newclosed

comment:3 by Francesco Casella, 6 years ago

As a side remark, I'm not really sure that hiding the simulation output window is a good idea. Most of the time I work with models that are failing for some reason, so I like it very much to see the message "The simulation finished successfully." explicitly, and no nasty red error messages. It gives me a positive endorphine rush. But I guess that's a matter of taste...

Last edited 6 years ago by Francesco Casella (previous) (diff)
Note: See TracTickets for help on using tickets.