Community
Participate
Working Groups
Steps to reproduce: 1) Create a vsp containing representations for nodes and edges 2) Ensure that vsp has two layers. 3) In second layer, add style customization that enables edge label icon to be shown. 4) Create model and diagram containing nodes and edges 5) Enable second layer, icons for edge labels are not updated. 6) Close and reopen diagram, icons for edge labels are shown. Note: bug triggered on Eclipse Mars.2 with Sirius 3.1.4 on PC.
Hi Wilbert, Thanks for your detailed bug report. We have reproduced this issue and we reckon it is valid. Nevertheless, it's not yet in the scope of a future release.
Created attachment 267876 [details] Reproduction case Attachement to complete steps to reproduce provided by Wilbert. Note that the sample shows that the node and container icon are well shown/hidden without any need to close/reopen the diagram. See . org.eclipse.sirius.diagram.ui.edit.internal.part.DiagramNodeEditPartOperation.refreshFigure(IStyleEditPart) . org.eclipse.sirius.diagram.ui.edit.internal.part.DiagramElementEditPartOperation.refreshLabelAndIcon(IDiagramElementEditPart, DDiagramElement, SiriusWrapLabel) It seems that the refreshVisual method of edge labels is not triggered on the showIcon change. It should follow the same logic than node and containers.
*** Bug 520637 has been marked as a duplicate of this bug. ***
Bug 520637 has been closed as duplicate of this bug. Its description only described edge icon issue whereas the problem exists for Node and Edge (and maybe also for containers) as described here.
*** Bug 544884 has been marked as a duplicate of this bug. ***
Is anybody working on a fix?