Opened 10 years ago

Closed 9 years ago

Last modified 7 years ago

#2845 closed defect (fixed)

OMEdit handling of packages in the GUI is inconsistent

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: critical Milestone:
Component: OMEdit Version: trunk
Keywords: Cc:

Description

In OMEdit, it is possible to visualize the entire content of a package in the text view. However, if any change is applied there, this is not reflected in the Libraries browser window, which is extremely confusing.

For instance, I can create a new package Test and type this text:

package Test
  model M1 end M1;

  model M2 end M2;

end Test;

I would expect that when I click on the Libraries window, M1 and M2 show up in the tree under Test. Unfortunately, they don't, until I hit the Save button. If I then add text to a model while seeing the entire package and then click on the icon of the model, that added text is missing. All changes are recorded only if I hit Save or change the view, e.g., from textual to diagram.

The changes should also be applied immediately when the Libraries window is clicked on.

Also, if I right-click on M2 and select Unload, then I switch to the textual view of the entire package, M2 is still there. It only goes away when the package is saved. Again, any time the focus is switched from the libraries browser to the text or diagram view and vice-versa, the "other" view should be updated with the last changes, so that the two are always consistent with each other

Change History (6)

comment:1 by Martin Sjölund, 10 years ago

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:4 by Adeel Asghar, 9 years ago

Resolution: fixed
Status: newclosed

Done in 6247798/OMEdit.

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:6 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.