| Summary: | Decorator with precondition does not reappear properly in manual refresh | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Steve Monnier <steve.monnier> | ||||
| Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jessy.mallet, maxime.porhel, pierre-charles.david | ||||
| Version: | 4.1.1 | Keywords: | triaged | ||||
| Target Milestone: | 5.0.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| See Also: |
https://git.eclipse.org/r/86389 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ff8d58acdf9a21293033b8c92617c68ee1801032 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Thanks for the detailed bug report Steve. Feel free to continue to work on the issue. The identified target is currently Sirius 5.0. New Gerrit change created: https://git.eclipse.org/r/86389 Gerrit change https://git.eclipse.org/r/86389 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ff8d58acdf9a21293033b8c92617c68ee1801032 Validated with Sirius 5.0.0.201705151305 Verified by Jessy. Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details. |
Created attachment 265703 [details] decorator_issue_design_and_sample Have a diagram in manual refresh, with a decorator on diagram elements that is displayed depending on a precondition. When the precondition is false, the decorator disappear properly. Then change the diagram or semantic element to have the precondition true. The decorator does not reappear by itself. You have to refresh the editor in order to see it. Using the given sample (showing a decorator on EClasses with a name starting with the letter 'c'), follow this scenario: - import both project in your workspace. - Open the test_decorator project and then its diagram 'new Bug_Decorator'. - A class named 'c1' should be display with a decorator (a yellow car). - Rename the eclass to 'a1'. The decorator disappear. OK - Rename the eclass to 'c1'. The decorator does not sappear. KO Note that clicking on the refresh button shows the decorator.