Bug 530734 - Font size of edge label not kept when using mapping import
Summary: Font size of edge label not kept when using mapping import
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-02-05 08:37 EST by Laurent Redor CLA
Modified: 2018-10-17 09:19 EDT (History)
2 users (show)

See Also:


Attachments
MappingImportProblem.zip (use case created with Sirius 5.1.1) (3.92 KB, application/x-zip-compressed)
2018-02-05 08:37 EST, Laurent Redor CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2018-02-05 08:37:19 EST
Created attachment 272543 [details]
MappingImportProblem.zip (use case created with Sirius 5.1.1)

If the user manually changes the size of a label, this size is not kept if a mapping import is "enabled" (with a layer activation or a condition change or ...). This problem concerns edge label but not node label.

Steps to reproduce:
* Import MappingImportProblem project (from MappingImportProblem.zip)
* Open the diagram "newMyDiagram"
* Activate layer "LayerWithImports"
* --> The font of edges and nodes are changed:
    * red instead of black
    * bold instead of normal
    * 12 instead of 8
* --> The color of edges and nodes are changed (green instead of blue)
* Deactivate layer "LayerWithImports"
* Change the font size of toC2 edge label (24 instead of 8) from the Appearance tab of the Properties view
* Change the font color of toC2 edge label (yellow instead of blue) from the Appearance tab of the Properties view
* Change the font size of C2 node label (24 instead of 8) from the Appearance tab of the Properties view
* Change the font color of C2 node label (yellow instead of blue) from the Appearance tab of the Properties view
* Activate layer "LayerWithImports"
* --> KO: The size of toC2 edge label is not kept. Contrary to the size of node label, and the colors of both that are kept.
* --> Additional information: The size displayed in the Appearance tab of the Properties view is always 24 for toC2 edge label.
Comment 1 Maxime Porhel CLA 2018-02-12 11:57:24 EST
Thanks for the 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.