Bug 539156 - Initialize color (for line, text and fill button) from system and user defined colors
Summary: Initialize color (for line, text and fill button) from system and user define...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: 5.1.4   Edit
Assignee: Laurent Fasani CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 533537 533988
Blocks: 533550
  Show dependency tree
 
Reported: 2018-09-17 09:50 EDT by Laurent Fasani CLA
Modified: 2019-01-24 04:53 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2018-09-17 09:50:45 EDT
+++ This bug was initially created as a clone of Bug #533988 +++

+++ This bug was initially created as a clone of Bug #533537 +++

steps to reproduce
1- select a node in a diagram
2- display Properties view/Appearance tab
3- click on text color
-> colors defined in the VSM of the diagram and system colors are displayed in this order
4- hover the colors
-> the tooltip diplays the name of the color
5- repeat steps 3 and 4 with line anf fill button
6- repeat steps 1 to 5 selecting 
   * a diagram
   * an edge
   * a label

To be defined: do we set a maximum of color to be displayed?
Comment 1 Eclipse Genie CLA 2018-09-17 10:15:21 EDT
New Gerrit change created: https://git.eclipse.org/r/129541
Comment 2 Eclipse Genie CLA 2018-09-17 10:15:23 EDT
New Gerrit change created: https://git.eclipse.org/r/129540
Comment 3 Eclipse Genie CLA 2018-09-17 10:15:25 EDT
New Gerrit change created: https://git.eclipse.org/r/129542
Comment 4 Laurent Fasani CLA 2018-09-17 10:17:06 EDT
Steps to validate

steps to reproduce
SCENARIO1
0- Preference/Sirius/Sirius Diagram/Appearance/ check "Display viewpoint colors"
1- select a node in a diagram
2- display Properties view/Appearance tab
3- click on text color
-> colors are displayed in this order
* grayed colors
* colors defined in the VSM of the diagram
* system colors(rainbow) 
4- hover the colors
-> the tooltip diplays the name of the color
5- repeat steps 3 and 4 with line anf fill button
6- repeat steps 1 to 5 selecting 
   * a diagram
   * an edge
   * a label

SCENARIO2
0- Preference/Sirius/Sirius Diagram/Appearance/ UNcheck "Display viewpoint colors"
1- select a node in a diagram
2- display Properties view/Appearance tab
3- click on text color
-> viewpoint colors are not displayed. Only grayed and system colors are displayed
Comment 5 Eclipse Genie CLA 2018-11-06 06:11:30 EST
New Gerrit change created: https://git.eclipse.org/r/131968
Comment 6 Eclipse Genie CLA 2018-11-06 06:11:37 EST
New Gerrit change created: https://git.eclipse.org/r/131967
Comment 7 Eclipse Genie CLA 2018-11-06 06:11:39 EST
New Gerrit change created: https://git.eclipse.org/r/131966
Comment 11 Laurent Fasani CLA 2018-12-06 05:02:57 EST
verified with Sirius5.1.4_20181205
Comment 12 Pierre-Charles David CLA 2019-01-24 04:53:42 EST
Available in Sirius 5.1.4, see https://wiki.eclipse.org/Sirius/5.1.4 for details.