Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 456199

Summary: [Class Diagram] Stereotype Label is lost after DnD to(from) the nested compartment
Product: [Modeling] Papyrus Reporter: Alexey Shatilov <shatilov>
Component: DiagramAssignee: Alexey Shatilov <shatilov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander, Celine.janssens, papyrus-bugs
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 455311    
Bug Blocks: 457024    

Description Alexey Shatilov CLA 2014-12-26 15:34:45 EST
Any DnD operation leeds to the loss of the Stereotype(s) graphical representation applied to the list compartment based nodes.

Steps to reproduce:
 - Create Class1
 - Create Class2 (or any List Compartment nodes) as child of Class1
 - Apply Stereotype1 to the Class2
 - Ensure that Stereotype Label is shown
 - Drop Class2 to the canvas
=>  Stereotype Label is not shown 

Note, that bug can be reproduced for the dropping between model explorer and Class1 also.
Comment 1 Camille Letavernier CLA 2015-01-05 12:40:32 EST
The code for Stereotypes Display is being rewritten completely, so that it becomes less dependent on edition operations.

See Bug 455311

Although work-arounds can be useful for the Luna branch, I think we shouldn't focus on these issues until Bug 455311 is fixed
Comment 2 Celine Janssens CLA 2015-06-09 08:27:26 EDT
This should be fixed in Mars release 1.1